Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Changing background to a pattern rather than a colour

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-30-2004, 02:43 AM
 
hammersm hammersm is offline
 

Member
  
Join Date: Nov 2004
Posts: 22
 

Default Changing background to a pattern rather than a colour

Hi Guys

i would like to change the background of the shop to a pattern rather than a simple colour. I have worked out how to change the colour of things from the skin template but how do I change this to a background instead?

I have tried importing

background-image: url(css/grain_10.jpg);

but I do not think I get the link right and if I did where should I put it.

A very confused

Mark Hammersley
www.thebodymindandsoul.com
__________________
Mark Hammersley
thebodymindandsoul.com
xcart version 3.5.11
Reply With Quote
  #2  
Old 12-30-2004, 03:15 AM
 
hammersm hammersm is offline
 

Member
  
Join Date: Nov 2004
Posts: 22
 

Default sorry done it

Figured out that if I drag the home.tpl into dreamweaver then I can attach a background. I now have the background on everything except on the side but will get there.
__________________
Mark Hammersley
thebodymindandsoul.com
xcart version 3.5.11
Reply With Quote
  #3  
Old 12-30-2004, 04:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hi Mike. The correct way to code this in the CSS file is:

BACKGROUND: URL(images/bg.gif);

The images/ directory is the skin1/images directory, so make sure to upload your image to the right directory.

Just put that in the style that has to do with what you want the background in (such as the VertMenuBox or body styles)
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 12-30-2004, 06:35 AM
 
hammersm hammersm is offline
 

Member
  
Join Date: Nov 2004
Posts: 22
 

Default cheers

thanks alot. I seem to be getting somewhere. Although I have now messed up big time and will post another thread to ask about it.
__________________
Mark Hammersley
thebodymindandsoul.com
xcart version 3.5.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:40 AM.

   

 
X-Cart forums © 2001-2020