Changing text color of only widgets


#1

Hi,

I am trying to change the text color of only the widget titles, but the colors section in the customize area changes both the text of the pages/posts and the widget titles and text as well. Right now I have to go back into my posts/pages and change the text to black. Also, what I have noticed is that even though I change the posts/pages text to black, the front excerpts do not show black. How can I keep the text color black by default, but just change the widget title color?

Thanks!


#2

Hi

Just to change the color of the widget title. You can add the below css into you theme’s style.css. I would advice you to use it using a child theme or by using a custom css plugin to avoid lossing the changes on updating the theme.


.widget-title {
    color: #ccc;
}

Hope it helps!

Thanks