Is there an Easy way to change colors?
I have a template that I successfully converted from static html to a working concrete5 site (woohoo!).
The template comes with 10 basic colors for the site, and right now it's set to "red". I have a color.css file that pulls the appropriate color from the directory and applies to site, i.e.
[email protected] url('default/default.css');*/
[email protected] url('brown/brown.css');*/
[email protected] url('black/black.css');*/
[email protected] url('blue/blue.css');*/
[email protected] url('darkgreen/darkgreen.css');*/
[email protected] url('green/green.css');*/
[email protected] url('orange/orange.css');*/
[email protected] url('pink/pink.css');*/
[email protected] url('purple/purple.css');*/
So I have to manually go to the "color.css" and uncomment the color of choice, then re-upload to FTP, unless I edit it right on the server itself.
Was wondering if anyone out there know how I could make this simple and painless using concrete5.
Thanks for reading my post.
Note: If there are already colors defined in your css, the above process won't work. You should comment the css which defines the color.
As far as the css goes, it's being called within the header element:
<!--CSS--> <link href="/themes/advanced-html/styles/main.css" rel="stylesheet" type="text/css" /> <link href="/themes/advanced-html/styles/inner.css" rel="stylesheet" type="text/css" /> <link href="/themes/advanced-html/styles/color.css" rel="stylesheet" type="text/css" />
The color.css file contains the links to the different directories that contain all the images and other stuff associated with each particular color.
So I'm thinking there may be some sort of addon, block, or code I could use within the dashboard, or even the site itself to alter the choices between the colors.
You can find all information here: http://www.concrete5.org/documentation/developers/pages/configurabl...
Edit: Ok, that was a premature post (since I didn't read your question in full).
I would go for a page attribute to set the colors, or create several different themes and use the "Theme Switcher" from the marketplace: http://www.concrete5.org/marketplace/addons/theme-switcher/...
As far as creating addtl themes, there are 10 dif color directories, and creating 10 dif themes, with 10 sets of page types seems kind of overwhelming and more room for error.
Checking out the marketplace for that item you suggested.
However, it is overkill if all you want to do is change a colour and you would still need to write css rules rather than just pick a colour off a widget. Style Quickie is not a beginner level tool.
Now I'm wondering if this newly created block will have a global effect (which is what I want).
This may be the tool I need if I could figure out how to get it to select the dif values from my color.css on the fly.
Well that's 1 issue down and 1 to go :).