Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

background picture for all pages.


gordonrp

Recommended Posts

Hey guys,

 

Kind of a newbie questiom here, I did search but no luck. Im making a store and the person im desigining it for wants me to get rid of the nice clean look and spoil it with a crappy background jpg. How do I do this? Can I set different backgrounds for different pages? Can I set it so that one background will show on all pages? I dont think I can do this in the stylesheet, can I?

 

Thanks for your help,

gp

Link to comment
Share on other sites

you can do this in the stylesheet

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hey Steve,

 

I assume this is the piece of code I need to change:

 

BODY {

background: #FFFFFF;

color: #000000;

margin: 0px;

}

 

What should I change it to?

 

BODY {

background: "myimage.jpg";

color: #000000;

margin: 0px;

}

????????

thanks,

gp

Link to comment
Share on other sites

KICK MYSELF IN THE HEAD!!!!!! I was missing a ";" Below is the correct code if anyone else cares to know:

 

BODY {

background: #FFFFFF;

background-image: url(incero.jpg);

color: #000000;

margin: 0px;

}

Link to comment
Share on other sites

I've been editing my stylesheet, but I have been unsuccessful at getting the background image to appear. I edited it as follows:

 

BODY {

  background-image: http://www.soundssublime.com/galaxy.gif;

  color: #FFFFCC;

  margin: 0px;

}

 

Now, it works perfectly if I just set the background as plain black - that is, as:

 

BODY {

  background: #000000;

  color: #FFFFCC;

  margin: 0px;

}

 

... but I'd rather use the background image.

 

Can anyone tell me why the background image isn't working?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...