Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting backgrounds & colours


Guest

Recommended Posts

Posted

I've found through searching posts and the knowledge base that I need to edit the stylesheet to change our page colours.....but I do have a couple questions...

 

I have a Web Safe Colors Chart - do I use the 6 digit HEX number?

 

Also - we already have a website which we will link the shopping cart to:

 

http://www.2galsscrappin.com

 

and we would like the shopping cart to mimic some of the colours there - when we purchased the web graphics there were many plain backgrounds included....

 

when I'm in the Stylesheet file, where it says "background: #xxxxx" can we substitue a graphic file name? such as scrpbgrd.jpg?

 

Thanks!

Posted

Yes you can use those 6 digit HEX numbers.

 

When linking the shopping cart to another site/area be careful when moving back and forth between an OsCommerce site and a non OsCommerce page. Sometimes you will cause the customer to be logged out, forgotten, or lose cart contents.

 

To add a background graphic follow this example:

 

background-image: url("scrpbgrd.jpg")

 

Good Luck

Kenneth S

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

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Posted

hmmm - doesn't seem to work - do I need to put that everywhere in stylesheet where it says "background:"?

Posted

No, it probably needs to go into the Body style in the stylesheet.

Kenneth S

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

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Posted

Thanks Kenneth - got it working - I needed to put /images before the file name!

Archived

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

×
×
  • Create New...