Site logo

Archived topic

Widget Titles - smaller font doesn't work

7 replies · Started by Anne-Barbara on November 17, 2022

Viewing posts 1–8 of 8

Hi,

I want the widget titles to be a bit smaller than the other headings. So I set in the typography manager:

Widget Titles -> 15 px

But nothing changed, even as I set 6 px. What can I do? Please help me!

https://hochsensibelsein.org/wP/

Kind regards,
Anne-Barbara

Hi there,

its because those are Blocks :) Edit the Widgets in Appearance > Widgets.
Select the Heading Block in your Widgets, and in Advanced > Additional CSS Class(es) add: widget-title

Hi, Thamk you for your reply! I couldn't find, what you mean. The Block-HTML where I want to change the Heading is:

<!-- wp:group -->

<!-- wp:heading --><h2>Categories</h2><!-- /wp:heading --><!-- wp:categories /-->

<!-- /wp:group -->

I Couldn't find a heading block neither Advanced neither Additional CSS Class...

Kind regards,
Anne-Barbara

Go to Appearance > Widgets, click on the heading block, then you will see the toolbar on the right-hand side, scroll to the end, the Advanced > Additional CSS Class(es) should be there and fill the field with widget-title.

Please refer to the below screenshot:
https://www.screencast.com/t/hQhmF51WW2X4

This is exactly what I tried. But when I go to appearance > Widgets, there is no heading block. :-(

Add this CSS:


.sidebar h2 {
    font-size: 20px;
}

Thank you, this worked! :-)

Kind regards, Anne-Barbara

Glad to hear that!

This archived topic is closed to new replies.