Jump to content

Moon theme - how to add a background image


Recommended Posts

If you find you global.css file, and fine:

body {
background:#FFF url('../img/background.png');
font-size: 11px;
font-family: Arial, Helvetica,sans-serif;
letter-spacing:normal;
color: #000000;
text-align: center
}

and change the background image, the add the following into the body block of code:

background-attachment:fixed;

Hope this helps!!!

Link to comment
Share on other sites

  • 2 weeks later...

Hi!

Sorry for the late reply.. I've just managed to solve an issue where i have not been able to log on to the forum or my back office.

Thanks for your tip. I've tried to change the global css file and althought i have managed to get my background image there, it still is not fixed or centered.

I'm not sure if I've done the coding correctly?

I wasn't able to find the code you wrote above but there was something at the top of the file that went :
* {padding:0; margin:0; height:auto; font: 11px Tahoma, Verdana, Geneva; color:#6A5D4A; list-style:none}
body {background:url('../img/bg.gif')}

I've tried to change it with your code but it didn't work.

This is how my site is now:
http://thegeishapearl.com/prestashop/

Would you be able to advise?

Thanks in advance!

Link to comment
Share on other sites

Hello giokookie,

I just had a quick look at your site and see the problem,

Just look for this code:

url("../img/floralbg.jpg") no-repeat fixed center center transparent



And from this line change no-repeat to repeat, thats all.


ysco..

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