Jump to content

zeitnik

Recommended Posts

Hi to everyone,

 

I try on my theme which is the official prestashop theme 1.4.5 to to add two different images repeating in full page.

 

The one is on the top repeating-x and the other is on bottom repeating-x. (attach image)

 

So far I failed, can anyone please help me?

 

Thanks

post-147503-0-52308800-1324839120_thumb.jpg

Link to comment
Share on other sites

Hi :)

 

Next time please post url, so we can see what is going on, and what exactly you want to achieve.

 

To make these 2 lines, my advice is to make 2 wrapper divs around your whole site, and add the backgrounds to each of them.

 

edit: Also, you can use the <body> for one of the backgrounds

 

the top div css should be something like this -

background: url("../img/....png") repeat-x scroll left top transparent;

and the bottom

background: url("../img/....png") repeat-x scroll left bottom transparent;

 

To make the wrapper divs, open them under the <body> tag in header.tpl, and close them before </body> in footer.tpl

 

Example:

Header.tpl

<body>


<div id="wrapper-top">
<div id="wrapper-bottom">

 

Footer.tpl

 



</div>
</div>
</body>

 

then add the background styles to #wrapper-top and #wrapper-bottom in global.css

 

 

 

p.s

Please, dont use that "oldschool" white-to-black gradient in your store. If you cant make your own line better, download one from somewhere.

 

Merry Christmas :)

  • Like 1
Link to comment
Share on other sites

Thank you Snade, very helpfull indeed.

 

I didn't post the url because it is on a local server and don't worry for that colors I am not goint to use it, it was just an example.

 

I angree too that it is an "oldschool" way.

 

Thanks again

Merry Christmas

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...