View Single Post
  #6  
Old 07-08-2010, 11:23 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: CSS for each section

The best way to clean it up would be to rewrite it all entirely. The safest way to clean it up is to break it up as you've specified but have a core style sheet for common styles. So you'd end up with:
common.css (layout)
product.css
cart.css
category.css
etc.

Each page would have 2 css files (common + supporting file) containing CSS that is actually used.

main.css is the func.php of x-cart verions < 4.0 in terms of bloat.
Reply With Quote