Jump to content

including Background-Image with auto resizing - Prestashop 1.4.0.17


Recommended Posts

hello all together;

I've downloaded yesterday the new version of prestashop 1.4.0.17 .. it seems nice done. Thanks to the people from prestashop!

Now I try to insert a background-image, which fills up the total background and resize the total site automatically to the desktop size of the end user.
Please don't take care about my size changes (screenshot) in the left and right column, this and the transparency is not ready until know.

In my attached screenshot you'll see that I got the background-image inside but I don't know how to write correct into the global-css (themes) to get my ideas work.

css-change until now: Line 209.

/* global layout */
#page {
background: transparent url('../img/bg.png') no-repeat scroll center;
width: 880px;
margin: 0 auto 2px auto;
text-align: left;
}

Anybody out there who now how to do it? Thanks in advance!

40609_27YlBq4vpsAEq5UFjpe2_t

Link to comment
Share on other sites

  • 3 weeks later...

I am also trying to get a scallable image to the front office. I have an image but it will not scale to the end user, simply comes up to the left/top normal size.

my global.css

body {
background: url('../img/leather_background.jpg');
background-size: 100%;
background-repeat:no-repeat;
background-attachment:fixed;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #5d717e;
text-align: center
}

42516_rOicHnPSzUnjZFQQQBOY_t

Link to comment
Share on other sites

  • 4 weeks later...

Do not know if this will help, but on my site, I put this in the global.css to have a background image that does not change if I change the window size.
I hope you find it useful.
Greetings


body {
   background-color: white;
   background-image:url(../img/fondocustom.jpg);
   background-position:top;
   background-repeat:no-repeat;
   size: landscape;
   font-size: 11px;
   font-family: Verdana, Arial, Helvetica, Sans-Serif;
   color: #5d717e;
   text-align: center
}



PD:Translate from spanish with Google

Link to comment
Share on other sites

  • 3 weeks later...
Do not know if this will help, but on my site, I put this in the global.css to have a background image that does not change if I change the window size.
I hope you find it useful.
Greetings


body {
   background-color: white;
   background-image:url(../img/fondocustom.jpg);
   background-position:top;
   background-repeat:no-repeat;
   size: landscape;
   font-size: 11px;
   font-family: Verdana, Arial, Helvetica, Sans-Serif;
   color: #5d717e;
   text-align: center
}



PD:Translate from spanish with Google




This worked well on my site.
Link to comment
Share on other sites

  • 3 months later...

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...