Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can i / how do i change the background?


shopping.uk

Recommended Posts

Posted
Hi all,

 

Is it possible to change the default (white) background?

 

And if so, how and where?

 

Thanks

 

(newbie)

 

Go into catalog/stylesheet.css and edit here:

 

BODY {

color: #000000;

margin: 0px;

background-image:url('images/background.png');

}

 

Fred

www.21st-tees.com

Frederick C Brace,III PA-C

www.21st-tees.com (osc)

www.tanda-designs.com (osc)

Posted
Go into catalog/stylesheet.css and edit here:

 

BODY {

color: #000000;

margin: 0px;

background-image:url('images/background.png');

}

 

Fred

www.21st-tees.com

 

Thanks Fred

 

the code i found in this file is

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

}

 

do i need to edit both 'background' and 'colour' ?

 

thanks

Russell

Posted

Background is the one. Color is used to refer to the text. You can use a color schemer (google them) to find the right color you want. Or you can include a background image if you'd like:

 

BODY {
background: #ffffff url (images/yourpicture.jpg);
color: #000000;
margin: 0px;
}

 

 

Debbie

Posted
BODY {
background: #ffffff url (images/yourpicture.jpg);
color: #000000;
margin: 0px;
}

 

 

Thanks Debbie, I'll have a go at trying the pics too.

 

do i put the 'link to image' the same as in the example? (i.e in brackets)

 

Thanks

Russell

Posted

yes the correct format is:

 

background : url("picts/background.jpg");

 

ie with quotes as well.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

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

×
×
  • Create New...