Font for main title on widget


#1

How do you change font for main title on widget, I need to change it to white
Thanks


#2

Hello @dgrylas,

Please try to use the following CSS code.

You can add CSS code to your site with Simple Custom CSS plugin (just copy CSS code and paste it in Dashboard -> Appearance -> Custom CSS after installing and activating the plugin). Also you can add CSS code directly to style.css file of your child theme.

.widget-title {
    color: white;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


#3

Thanks for the reply
I only want the title to be white in one of my widgets( sydney FP: lastest news), not all. What would be the code for this?
Thanks


#4

Okay @dgrylas,

I will be glad to help you, but can you please provide a link to your website and specify the widget?

Kind Regards, Roman.


#5

http://cmfaa.org/


#6

Well, you did not specify the widget, but I suppose that it is Latest news widget.

Please try to use this CSS code:

#pg-220-3 .widget-title {
    color: white;
}

I hope that it will help you.

Kind Regards, Roman.


#7

Thats it. Works great.

Thank You.


#8

You are welcome,

I’m glad that it works :slight_smile:

Kind Regards, Roman.