| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Changing Styles | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
Thanks... Rick Davey |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Changing Styles
Hello!
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, Qualiteam --- 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 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|