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

main.css VS altskin.css

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-11-2010, 08:27 PM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Question main.css VS altskin.css

4.3 along with new CSS based design also brought to me many new reasons to be confused...

Here is the last one :

In order to change the look of the customer side wich CSS file should I edit - main.css or altskin.css ? What is the difference between them?

P.S: I am using Lucid (2 column) skin.
__________________
Version 4.7.6 X-cart Gold
Reply With Quote
  #2  
Old 01-12-2010, 04:19 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: main.css VS altskin.css

I'm not really sure actually, I just stripped all of the excess .css out and left main.css, but I write alot of my own CSS so it's not a big deal for me.

This is just a guess, but I think the altskin.css is if you install a different skin other than the defualt x-cart skin.

haven't really looked into it too much. If you have a altskin.css I believe you alter that one since it is called later in the html and will have precedence over main.css.

If you encounter a tag that is not in altskin.css then look in main.

Hope I didn't confuse you more.

Ash
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
acidon (01-12-2010)
  #3  
Old 01-12-2010, 04:38 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: main.css VS altskin.css

You can keep it the way it is and as Ashley said just look into one or the other for the style you need and keep anything new you add in only one of them. Or you can combine them into one file and strip out all unnecessary or repeating code. It's a lot of extra work but at the end will give you smaller and better organized css file
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
acidon (01-12-2010)
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:03 AM.

   

 
X-Cart forums © 2001-2020