How can you target h3 and h2 with the same styling? #210
-
In short. |
Beta Was this translation helpful? Give feedback.
Answered by
hongducdev
Oct 31, 2022
Replies: 1 comment
-
There are CSS classes attached to the ezTOC list, example class="ez-toc-heading-level-4". These do not map directly to h1, h2, h3 …and will be different based on the eligible headings in the post content. But, if you are consistent in using the same headings for TOC items you could use those CSS classes for your target styling. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
montasim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are CSS classes attached to the ezTOC list, example class="ez-toc-heading-level-4".
These do not map directly to h1, h2, h3 …and will be different based on the eligible headings in the post content. But, if you are consistent in using the same headings for TOC items you could use those CSS classes for your target styling.