X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Global Color Change (https://forum.x-cart.com/showthread.php?t=74660)

Don@Core 11-11-2016 02:15 PM

Global Color Change
 
Hello,
Looking for an easy way to change all the blue with custom CSS in the crisp white theme to an orange color (#f0652f)?

Right now its taking me forever doing a find replace for all blues... ugh

attached a screen capture of the web address
Thanks
Don

qualiteam 11-13-2016 10:09 PM

Re: Global Color Change
 
Since there may be different shades of blue, I think the simple search & replace won't work there.

However, if you use IDE that highlights colors (for example, there Color Highlighter plugin for Sublime Text 3), you can just scan through files in the skins/crisp_white/customer directory and find CSS rules that set the blue color.

I'm not sure if there is a faster way to do this, unfortunately.

Don@Core 11-14-2016 09:28 AM

Re: Global Color Change
 
that is what i was afraid of.... thanks for the reply.

ou812 05-08-2020 10:57 AM

Re: Global Color Change
 
has anyone found an easy way to change the colors in the crisp white skin?

I can't even find some of the blue in the css file...

memoto 05-08-2020 11:12 AM

Re: Global Color Change
 
Why are you looking into CSV files while there is a Custom CSS section. Simply use it to apply all the needed changes to any needed classes/ids

cflsystems 05-08-2020 03:46 PM

Re: Global Color Change
 
Quote:

Originally Posted by memoto
Why are you looking into CSV files while there is a Custom CSS section. Simply use it to apply all the needed changes to any needed classes/ids





XC5 css is extremely bloated. Using the custom css section to add even more css rules should be last resort. This is bad advise. Not to mention lots of times you have to apply custom css rules with !important which is another con of using this.


Keep in mind that the font color is not in one file only but spread to multiple files and even more if you have modules trying to match the theme.



If you want to modify such an important section of the default skin as colors you need to have custom module and modify the css and less files directly so they are not loaded 2-3 times overriding each other.


All times are GMT -8. The time now is 01:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.