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

CSS bg image syntax help, please

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-21-2004, 01:53 AM
 
suzstephens suzstephens is offline
 

Member
  
Join Date: Jun 2004
Posts: 19
 

Default CSS bg image syntax help, please

What's the correct syntax for specifying a <body> or <div> background image? I don't know whether my syntax is off, whether I've just got a minor type, or whether it's because it's nearly 3:00 am, but my stylesheet isn't working. My tile image is in the skin1/images folder:

.pageBG {
background-image: url({$ImagesDir}/pageBGtile.jpg);
background-repeat: repeat-y;


}

Thanks. Suz
Reply With Quote
  #2  
Old 06-21-2004, 01:22 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

You can't use "Smarty" tags in the CSS. Take out {$ImagesDir} and replace it with the path to the image.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:00 AM.

   

 
X-Cart forums © 2001-2020