• Resolved stephen87

    (@stephen87)


    Hello,

    I have TOC in my sidebar for posts, I would like it to display H2 headings only, my content has manual links to h3 and h4 headings.

    I tried excluding h3s and h4s in the settings but this removes the link.

    I then tried adding the following to the widgets custom css field

    .ez-toc-heading-level-3 {
        display: none;
    }

    this code hides the H3 headings in the sidebar but also the content.

    Any ideas how to hide it only in the sidebar?

    Thanks, great plug in btw

    • This topic was modified 4 years, 2 months ago by stephen87.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stephen87

    (@stephen87)

    SOLVED.

    I just needed to add selector to the custom css option (elementor pro) to hide the H3 in the sidebar only.

    selector .ez-toc-heading-level-3 {
        display: none;
    }
    Steven

    (@shazahm1hotmailcom)

    Great to hear!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide H3 & H4s (not excluding)’ is closed to new replies.