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

CSS

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-12-2003, 10:44 AM
 
millergroup millergroup is offline
 

Member
  
Join Date: Sep 2003
Posts: 15
 

Default CSS

I edited skin1.css to include a background image.

Is it possible to create a seperate css file for each of the main pages so that a different background image appears on each of the pages?
Reply With Quote
  #2  
Old 10-12-2003, 02:32 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

I am sure it is possible but not sure how.

Easy way to do that is Html.

Just Edit each menu and put the code in table and set up colors and background images.
__________________
X-Cart Version 4.1.8
Hosted on Linux
Reply With Quote
  #3  
Old 10-12-2003, 04:49 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Detect the {$main} and change using smarty logic

Example something like this

{If $main eq ""}skin1.css {/if} (this would be home)

{If $main eq "help"}skin2.css {/if} (this would be helppage)

{If $main eq "cart"}skin3.css {/if} (cart etc etc etc)
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
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 11:34 PM.

   

 
X-Cart forums © 2001-2020