Skip to content
Public Ticket #18061

H2 size on pages

Conversation thread

andrewsgibson replied

Customer Reply

Thanks, worked perfectly.

PenciDesign Supporter replied

Staff Reply

Hi,

This code will apply to the single post:

body.single .post-entry h2,
body.single .wpb_text_column h2,
body.single .elementor-text-editor h2,
body.single .woocommerce .page-description h2 {
    font-size: 32px;
}

Regards,
PenciDesign.


andrewsgibson replied

Customer Reply

Thanks, that worked. Is there a way to do the same on posts too, in case I want them to look the same?

Thanks,

Andrew

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

body.page .post-entry h2,
body.page .wpb_text_column h2,
body.page .elementor-text-editor h2,
body.page .woocommerce .page-description h2 {
    font-size: 32px;
}

Regards,
PenciDesign.



andrewsgibson started the conversation

Conversation Start

Hello, 

I'd like to set the size of H2 headings on my pages to 32 px. But when I set that in the block settings in gutenberg the text size doesn't change. I have to change the heading block to paragraph instead, losing SEO advantages. I assume that there's a master setting somewhere but I can't find it. Can you help?

Thanks,

Andrew

Want to join this conversation or access attachments? Sign in first.