Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

set a background images iso color


marcel emmen

Recommended Posts

Posted

Hi there,

 

anyone have a idea how to set a background image for the shop iso a background color? I have try many things but nothing seems to help?

 

I use centershop and thema

 

thanks

Marcel

Posted

We need a little more info. Which background are you talking about. The table background? or the page background? or? You are not giving us much to go on. And also which snapshot and what mods you have added.

Steve

-------------------------

Posted

I found out that i have to put the background image in the cascade style file. However how must i make the path and whats the format for this in the cascade style file?

 

is this like this;

BODY {

background: background.gif;

color: #000000;

margin: 0px;

}

 

thanks for the help

marcel

Posted

you could put the background image in your /webserver/html/ along with your other php files. (don't put it in /webserver/html/images/)

 

.jpg and .gif format is supported.

Posted

background: url(images/your_image_file.gif);

 

Add a line like the above. Rename the image file to yours.

Posted

Marcel,

 

Please post the section of your stylesheet where you added the background image.

Posted

Here is the section;

BODY {

color: #000000;

margin: 0px;

}

 

if i place in this section;

BODY {

background: url(images/background.gif);

color: #000000;

margin: 0px;

}

 

the background still stays white. I now have place the following line in the default.php which works with the background image. However I don't want this because I want for every thema a different background image

 

<body background="images/background.gif" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">

 

Marcel

Posted

Well....having no <BODY> tag would cause the image NOT to show up.

 

I'm not familiar with using themes so I won't be able to help...sorry.

Archived

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

×
×
  • Create New...