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.
I am trying to change the color of the header with custom css in my theme, but doesn't seem to work. The background change works (and anything else i tried) but the color of the header is stuck at #555555. It does seem to use http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/j... , so i have no way of change it.
Is there a workaround for that?
Comments
Comment #2
Ajay Jagtap CreditAttribution: Ajay Jagtap commentedHi Liakoni,
I think you have to use like below,
.your-class-name {
color : your-color !important;
}
Example -
.header {
color : #FFA500 !important;
}
Regards,
Ajay Jagtap.
Comment #3
justinmello32 CreditAttribution: justinmello32 as a volunteer commentedComment #4
justinmello32 CreditAttribution: justinmello32 as a volunteer commentedIt does sound like you just need to be more specific with your targeting and you shouldn't have any problems.
Try targeting .ui-accordion .ui-accordion-header a {}, I believe that's how I have it configured on my site.
Let me know if that helps, thanks!
Justin
Comment #5
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedThis is just a CSS question rather than anything specific to the module, but thanks guys for explaining how to do this anyway.