Site logo

Archived topic

H2 vs H3 Size

7 replies · Started by Sourabh on February 16, 2021

Viewing posts 1–8 of 8

HI,

Created a table of content in a post, so can we make H3 title lower than H2 via CSS??

if yes then pls help..

Hi there,

try this:

.wp-block-uagb-table-of-contents ul.uagb-toc__list ul li a {
  font-size: 15px;
}

No, it will make the entire font size fixed to 15px,

I want if H2 is 15px, then H3 must be 12px (Means h3 should be smaller then H2).

No that CSS applies to any sub items in your TOC:

That plugins HTML does not distinguish what element a TOC item is linked to.

If thats not working for you, contact the plugin author.

Okay, I got your point, I will connect to plugin Author for this.

deleted.

Thanks, David for your kind help.

You're welcome

This archived topic is closed to new replies.