/*customize_color*/

Permalink
I'm trying to get customized colors in a theme. I've added the following...

#wrapper #footer h1, 
   #wrapper #footer h2, 
   #wrapper #footer h3, 
   #wrapper #footer h4, 
   #wrapper #footer h5, 
   #wrapper #footer h6 { /* customize_footer */ color:#444444; /* customize_footer */ }


This shows up in the customize viewer in the back end with the correct color but, when I try to change the color and the page refreshes, the change doesn't take effect.

I've cleared my cache a couple of times already.

Has anyone else ran into this issue?

This is the code I'm using to link to my typography.css file.

<link rel="stylesheet" href="<?php echo $this->getStyleSheet('typography.css')?>">

I know I'm suppose to use the getStyleSheet attribute. So I'm a bit confused as to why there isn't a change taking place. If I change the #444444 to #fff in my typography.css file the color changes correctly so I know I'm using the right attribute but, like I said, if it's through the c5 editor nothing is happening.

I've also looked over this link,http://www.concrete5.org/documentation/developers/pages/configurabl... and it looks like I'm doing everything correctly according to this developers guide.

Thanks for any help,
b-lew

bryanlewis
 
Remo replied on at Permalink Reply
Remo
Yes, the most common issue is that people access the CSS file directly. Is this a secret theme? Any chance you can post it? If we/I could reproduce this we/I can probably help you to trace that problem.
bryanlewis replied on at Permalink Reply
bryanlewis
I can shoot you a PM real quick if you don't mind with the link.

Let me know,
Thanks Remo!
Remo replied on at Permalink Reply
Remo
I'm about to switch off my computer but send me a pm and I'll look at it in the morning!
bryanlewis replied on at Permalink Reply
bryanlewis
Sounds good, Thanks Remo!
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Bryan,

Give this a go:

#wrapper #footer h1 { /* customize_footer */ color:#444444; /* customize_footer */ }
#wrapper #footer h2 { /* customize_footer */ color:#444444; /* customize_footer */ }
#wrapper #footer h3 { /* customize_footer */ color:#444444; /* customize_footer */ }
#wrapper #footer h4 { /* customize_footer */ color:#444444; /* customize_footer */ }
#wrapper #footer h5 { /* customize_footer */ color:#444444; /* customize_footer */ }
#wrapper #footer h6 { /* customize_footer */ color:#444444; /* customize_footer */ }


I know its not very economical with the CSS, but I have had problems with the comma separated declarations in the past, I found writing them individually worked it out for me.
Steevb replied on at Permalink Reply
Steevb
I used:
#wrapper h1, h2, h3, h4
    { /* customize_color */ color:#3B3B3B; /* customize_color */ }


It works for me.
bryanlewis replied on at Permalink Reply
bryanlewis
@vidall I thought the same thing and it still didn't work.

@55webdesign I must be over-riding it somehow. Not for sure whats going on.
Remo replied on at Permalink Reply
Remo
Your code (the original one) works fine for me. However, I had to clear my browser cache or change the url to something like this:

/index.php/tools/css/themes/bullseye/typography.css?ignore-cache


but afterwards the color was correctly pulled from the setting I've made in the dashboard!
bryanlewis replied on at Permalink Reply
bryanlewis
Will everyone need to know how to change the url to that? I tried changing the url to that and it didn't work for me nor did clearing my browser & site cache. I'm not for sure whats up.

I will try it locally... see if it works there.
bryanlewis replied on at Permalink Reply
bryanlewis
It worked locally so there must be something up with my server... Thanks for your time Remo!