Support » Plugin: Easy Table of Contents » Plugin overrides my custom fonts for headings

  • Thanks for the great plugin, I just have one issue.

    I use the font Special Elite (with Easy Google Fonts) for my headings. Since installing your plugin, it has defaulted back to the paragraph font, Lato.

    I have tried using all kinds of css selectors (h2 span, span .ez-toc-section, span, span h2, .ez-toc-section) to get it back to Special Elite, but no luck!

    I also turned off minifying my css in the hopes that might restore it, but that also didn’t work.

    Any ideas? I love the plugin but I really miss my header font 🙁

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

Viewing 1 replies (of 1 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @georgie2810

    Sorry for the trouble! ezTOC adds a span to the headings which are what the TOC items link to. If the CSS for the headings custom font is written to specifically this span being added will cause that CSS heading selector to no longer heading to be selected to apply the custom font. Presently, there is no way around this. The CSS for the heading would have to be slightly tweaked in order to allow the headings to account for the added span. A future update, I plan on changing how heading are linked so the spans are no longer added to the headings in a way that would no longer interfere. I have no eta on when this might happen.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin overrides my custom fonts for headings’ is closed to new replies.