Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backgrounds........help lol


thian

Recommended Posts

Posted

Ive tried everyway i can thing of to place a background image.....i have it working in dreamwear ok using the the header.php

but as soon as i upload the file and change the path to image, I still just get the same old white background...

 

Could anyone please give me a step by step guide....oh my code looks like this in header php before i change the path;

 

?><style type="text/css">

<!--

body {

background-repeat: no-repeat;

background-color: #FFF;

margin-right: 0px;

background-image: url(../My%20Documents/catalog/images/xmas.gif);

}

Posted

change the background in catalog/stylesheet.css, not in header.php.

 

upload your background image to your images folder.

 

in stylesheet.css:

 

BODY {

background: url('images/xmas.gif');

background repeat: no-repeat;

color: #ffffff;

margin: 0px;

}

~ Don't mistake my kindness for weakness ~

Posted

Cheers m8, also found that I forgot to put the '''''''''''`s in as well, were the image source goes, spent about 5 hrs trying to figure it out til airbrush andy told me lol :-)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...