damienboulat
Member
Posted 5 months ago #
Hi I am new to wordpress and trying to create a site using the 2011 theme. I am trying to change the color of the title by going into the css stylesheet. I can easily modify the size of the text, but for some reason no matter what I do the color remains the standard gray plus the alternate link color I chose in the theme options when you roll over.
Is there something over-riding my changes? What do I need to do in order to accomplish the color changes? Thanks.
sacredpath
Member
Posted 5 months ago #
Are you talking about the site title at the top or post and page titles?
Site title color is here #site-title a
Site title hover color here: #site-title a:hover, #site-title a:focus, #site-title a:active
Site description/tagline color here: #site-description
damienboulat
Member
Posted 5 months ago #
Yes all of those. If I make changes to the colors, it remains the same, while changes to size works fine.
damienboulat
Member
Posted 5 months ago #
Ok I seem to have found my answer! I am using the dark theme, and apparently there is an issue with this explained here:
http://codex.wordpress.org/Child_Themes#Note_on_Twenty_Eleven_and_using_the_Dark_Theme_or_Link_Color_option
sacredpath
Member
Posted 5 months ago #
I just did the following on my test site after activating twenty eleven, and the site title went red (cc0000) the site title hover color a purple (892abf) and the site descriptions/tagline green (2fd546). I did have to add !important to the hover color.
#site-title a {
color: #CC0000;
}
#site-title a:hover, #site-title a:focus, #site-title a:active {
color: #892abf !important;
}
#site-description {
color: #2FD546;
}
Are you editing the original stylesheet or did you create a child theme (highly recommended) or what?
sacredpath
Member
Posted 5 months ago #
Also, are you using the light or dark color scheme?