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

Changing Styles

   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
Thread Tools Search this Thread
Old 02-07-2014, 12:04 PM
bespoke bespoke is offline

Join Date: Oct 2013
Posts: 17

Default Changing Styles

A few questions pertaining to the use of style and their files when making changes.

If I use style and theme .css files and make some changes in the folder skins\default\en\css

1. Do you need to re-build the cache each time after changes?

I know there is a set hierarchy from common to default but

2. what is the order in which the .css files are concatenated.

I'm used to apps that allow me to layer in .css files so long as I'm changing the last one in. I can't see what style from what file is actually being used even with a style inspector.

Rick Davey
Reply With Quote
Old 02-10-2014, 07:30 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline

Join Date: Dec 2010
Posts: 6,373

Default Re: Changing Styles


You should never edit files in the folder skins\default\en\css - the first upgrade will ruin your work.

To add custom styles either use Theme Tweaker, or create a custom module (most likely you need a theme module).

You don't need to run the classes cache re-building process after editing a css file in your custom module (unless you enable website optimization techniques like css and js aggregation).

The order in which css files are loaded depends on:
- name of the module added the file (alphabetically)
- whether there are other modules which that module depends on
- whether it is a theme module, or not

Please could you clarify why the inspector doesn't help? Is the CSS aggregation setting disabled on the Store settings -> Look and Feel -> Performance page?
Alex Solovev,


User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)

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 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 08:26 PM.


X-Cart forums © 2001-2020