Widget titles styles


#1

Hello.
I would like to know if it’s posible to change the actual sidebar widget titles style in order to make them similar to the NewsAnchor recent posts type A and B widgets. I would like to have the same font and the line below the title in both.
I attach a picture: https://ibb.co/dAvJ7k
My website is http://www.encualquierviaje.com
Thank you very much!!!


#2

Hi,

You can change the sidebar widget titles to the style of Recent Posts widget title with this Custom CSS:

.sidebar .widget-title {
    font-size: 18px !important;
    line-height: 30px !important;
    border-bottom: 2px solid #ebebeb;
    padding: 0 0 4px !important;
    margin: 0 0 20px !important;
}

Unfortunately the short color line can’t be added, but the style itself will work with the above Custom CSS.

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also add the CSS to wp-admin -> Appearance -> Customizer -> Additional CSS so you won’t loose the changes after Theme or WordPress updates.

Please let me know how it works.

Kind Regards,
Csaba


#3

Worked perfect! Thank you very much, Csaba!


#4

Hi,

Great! You’re most welcome! If you need help with anything else, please, feel free to open a new topic.

Have a nice day!

Kind Regards,
Csaba