Themes not inheriting correctly.... manual css issue?
Permalink
I am not sure what the deal is. I inherited this site, and I know a few things got hardcoded somewhere, but I can't tell what where.
In this case, /concrete/themes/dark_chocolate/typography.css
I have the settings set in the customize theme section of dark_chocolate, but its being overridden by typography.css
I tried removing typography.css and and the page went with black text (browser default)
With or without the typography.css, the settings show the colors I have selected for the background, body text, and links. The previews only show it correctly when typography.css exists, but the preview is not set to the published page when the settings are saved.
In this case, /concrete/themes/dark_chocolate/typography.css
I have the settings set in the customize theme section of dark_chocolate, but its being overridden by typography.css
I tried removing typography.css and and the page went with black text (browser default)
With or without the typography.css, the settings show the colors I have selected for the background, body text, and links. The previews only show it correctly when typography.css exists, but the preview is not set to the published page when the settings are saved.
theme settings will only be used if it is coded into the css to be allowed
ok, how does the CSS need to be coded to allow the theme settings to take hold. It seem all the default themes are hard coded in the CSS, and don't respect the manual settings. Kinda odd for a program that is supposed to be easy to edit.
p.s. That is the point of the original question, and if the answer is to edit the CSS to tell it to pull from the theme's modified settings, why not tell us the edit.
p.s. That is the point of the original question, and if the answer is to edit the CSS to tell it to pull from the theme's modified settings, why not tell us the edit.
http://www.concrete5.org/documentation/developers/pages/configurable-theme-styles/
*if the css dose follow these rules and it doesn't work then 1 of 2 things might be happening
1) a bug
2) something is overwriting the css (any css code that comes after the original css will automatically be the code that is used no matter what)
*if the css dose follow these rules and it doesn't work then 1 of 2 things might be happening
1) a bug
2) something is overwriting the css (any css code that comes after the original css will automatically be the code that is used no matter what)
This is the code as it comes from concrete5.6.0.1.zip file.
The concrete theme has the options to edit, and preview, but it does not filter down it uses the css as it appears here...
The concrete theme has the options to edit, and preview, but it does not filter down it uses the css as it appears here...
body { /* customize_body */ font: normal normal 13px Arial; /* customize_body */ /* customize_body */ color: #777777; /* customize_body */ line-height:18px; } img {border: 0px} a,a:visited,a:active { /* customize_link */ color: #614F3F; /* customize_link */ text-decoration:none; } a:hover { /* customize_link_hover */ color: #81613F; /* customize_link_hover */ text-decoration:underline; } h1,h2,h3,h4,h5{ margin:0px 0px 4px 0px; padding:4px 0px; margin-top:8px } h1{ font: normal normal 21px Arial; line-height:28px }
Viewing 15 lines of 20 lines. View entire code block.
have you tried clearing your cache ? or looking at it from another browser - allot of this stuff is saved in browser history
in addition to going black
The browser is pulling up the new colors when I manually change those 6 characters after the #
So, it would be helpful if someone knew where those setting are kept, and where the call is for them.
Like I said, the customize
is storing the changed settings somewhere.
If its supposed to transfer those changes to the typography.css file then I need to figure out why its not.
While I inherited the site, the downloaded typography.css file appears identical to the original before I manually changed those 6 characters for the color change
I tried removing typography.css and and the page went with black text (browser default)
The browser is pulling up the new colors when I manually change those 6 characters after the #
So, it would be helpful if someone knew where those setting are kept, and where the call is for them.
Like I said, the customize
http://www.frolicbb.com/index.php/dashboard/pages/themes/customize/3/
is storing the changed settings somewhere.
If its supposed to transfer those changes to the typography.css file then I need to figure out why its not.
While I inherited the site, the downloaded typography.css file appears identical to the original before I manually changed those 6 characters for the color change
Ok, thanks for the tip on another browser. I figure this issue may come up again.
I am able to customize the settings
I probably could have tracked down the issue earlier if I had known where the data is kept. (Its not changing it in typography.css)
Anyway, remember to use a clean browser. I have scripts & cookies allowed, but adblock is on the first browser.
It shows its not blocking any scripts on the screen, but for a split second something is popping up (I'll explain below). It calls something, and that something is allowed because I have re-enabled adblock trying to figure out what was the cause, but changes are now able to be made even with adblock turned on. (Perhaps a developer can submit something to the adblock team
(There is a blocked items window. If I leave it up, I see a red -blocked- item listed for a split second when I hit save)
Either way, in both browsers, I am now seeing three icons for each of the settings in the BODY section. (SEE ATTACHMENT) is this something to be worried about or something that can be cleaned up.
(Perhaps I should search the forum for this, but if its related to this, its better to ask now)
I am able to customize the settings
I probably could have tracked down the issue earlier if I had known where the data is kept. (Its not changing it in typography.css)
Anyway, remember to use a clean browser. I have scripts & cookies allowed, but adblock is on the first browser.
It shows its not blocking any scripts on the screen, but for a split second something is popping up (I'll explain below). It calls something, and that something is allowed because I have re-enabled adblock trying to figure out what was the cause, but changes are now able to be made even with adblock turned on. (Perhaps a developer can submit something to the adblock team
(There is a blocked items window. If I leave it up, I see a red -blocked- item listed for a split second when I hit save)
Either way, in both browsers, I am now seeing three icons for each of the settings in the BODY section. (SEE ATTACHMENT) is this something to be worried about or something that can be cleaned up.
(Perhaps I should search the forum for this, but if its related to this, its better to ask now)
.. im going to guess that has happened because in editing
(adding and taking away the files) c5 was confused and added the attributes again or could have added the same code between your two css scripts 3 different times
Unless there is a gradient option but i don't think there is
....
after playing with your theme (getting it to work) I would strongly recommend to ftp the folder then rename the theme and place it in
(your site)/Themes rather then (yoursite)/concrete/themes
after c5 will ask if you want to install and use your new theme (in the themes settings)
using a default in the concrete/themes folder and customizing it outside of the default settings (ie editing the files) the changes will be erased the next time you upgrade because the defaults will be rewritten.
(adding and taking away the files) c5 was confused and added the attributes again or could have added the same code between your two css scripts 3 different times
Unless there is a gradient option but i don't think there is
....
after playing with your theme (getting it to work) I would strongly recommend to ftp the folder then rename the theme and place it in
(your site)/Themes rather then (yoursite)/concrete/themes
after c5 will ask if you want to install and use your new theme (in the themes settings)
using a default in the concrete/themes folder and customizing it outside of the default settings (ie editing the files) the changes will be erased the next time you upgrade because the defaults will be rewritten.
The theme's settings are not being used in the published page
the *.css pages are what is being used
(If the *.css page does not exist is still does not use the theme's settings.)