Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Could someone please tell me how to change the default text color and text heading color? Thanks.
Comments
Comment #1
Thorsten CreditAttribution: Thorsten commentedSimilar question here: I need to change the color of "site-name a" independently from the base font color. The color module handles them as the same color. I can change it seperately in "style.css", but firebug tells me this change is overridden somewhere and I cannot find the right point to start with ... help would be greatly appreciated!
Ops, sorry, wrong issue queue, this applies to version 7.x-1.21!
Comment #2
shruti.sheth CreditAttribution: shruti.sheth commentedHello,
One of the ways to change the default text-color, site-name color and text heading color independently is as follows.
1. In your colors.css file add the code for body and site-name separately as follows,
suppose default text-color required is red and site-name color required is ff00ff, then code becomes as under
2. Also you need to remove
body,#site-name a,
from the following code in your colors.css
3. To change the color for heading edit the following code in your colors.css
Hope this helps!
Thanks
Shruti
Comment #3
kirilius CreditAttribution: kirilius commentedHi there,
I am having the same problem and cannot figure out how to do this. I tried the suggestions above but I see absolutely no change. Perhaps I am missing somebackgorund info. For example: how are the different color schemes applied? There is only one colors.css file and several color schemes + custom colors. In my case I am usung a custom color scheme and use my own colors. The fact that nothing changes after I update the colors.css makes me think that it is probably ignored if I use custom colors. Is that correct?
Thanks for the help!
Comment #4
Jeff Burnz CreditAttribution: Jeff Burnz commented