I'm working on a custom theme and trying to the find my way in the framework.
In the default theme the accent color is everywhere #0091b5 (sea blue). I'm now adjusting this css rules everywhere in the main style.css file but for sure there will be certain things not covered doing this like for example the 'add to card' button because those rules are located in other files which are not even in the Themes folder. What is the best practice for this?
Default button color
Saturday, December 28, 2024 9:37:01 AM
So basically everything should be controllable using only the style.css file in the theme folder, and there is no general setting that I've missed to define the main color(s)? If you would like to change the sea blue to red for instance, you'd just use a find & replace in order to change the color value on all used places in the file?
0
Pieter wrote:
Let me clarify.
If you build own theme, and select that theme at admin panel, there is no default style.css file used (default file of GrandNode default theme). Simply your theme will point to your style.css file. However, plugins still refering to own styles (see default plugin as example). To start using own colors, need to add classes including elements set by plugin in own css file.
Hope that clarify how to process new themes creation. By the way, is there any public access theme, so may have a look on?
So basically everything should be controllable using only the style.css file in the theme folder, and there is no general setting
Let me clarify.
If you build own theme, and select that theme at admin panel, there is no default style.css file used (default file of GrandNode default theme). Simply your theme will point to your style.css file. However, plugins still refering to own styles (see default plugin as example). To start using own colors, need to add classes including elements set by plugin in own css file.
Hope that clarify how to process new themes creation. By the way, is there any public access theme, so may have a look on?
Best regards,
Tomasz
GrandNode Team
Tomasz
GrandNode Team
0