Site logo

Archived topic

increase backround color

3 replies · Started by steven on February 7, 2022

Viewing posts 1–4 of 4

Hi there

in the sidebar I use text (title) above recent articles. The text uses a colored backround but stops just before and after the text. I want to increase the size on the sides.

Hi there,

select the block displaying the Title and in Advanced > Additional CSS Class(es) add a custom class eg. title-highlight
Then add this CSS:

.title-highlight {
    background-color: #000;
    color: #fff;
}

Or if you use the the GenerateBlocks plugin then you can use the Headline Block instead and style that in the editor.

Thanks you !

You're welcome

This archived topic is closed to new replies.