• Resolved Nate

    (@goseongguy)


    Hello,
    Is it possible that an overlooked bug results in a duplicate ID generated in the HTML source code? OMGF plugin has detected the following for my page:
    Montserrat (astra-google-fonts)
    Style: normal Weight: 400 Preload: Yes
    Style: normal Weight: 700 Preload: Yes

    When I validate my site at validator.w3.org, this is one of the issues that breaks validation, the dupliated ID omgf-preload.

    The HTLM source code output:

    <link id='omgf-preload' rel='preload' href='https://goseongguy.com/wp-content/uploads/omgf/astra-google-fonts/montserrat-normal-700.woff2' as='font' type='font/woff2' crossorigin />
    <link id='omgf-preload' rel='preload' href='https://goseongguy.com/wp-content/uploads/omgf/astra-google-fonts/montserrat-normal-400.woff2' as='font' type='font/woff2' crossorigin />

    As a secondary question, do you have recommended steps to take to eliminate one of the font-weights altogether from my site? Or is this expected that I’ll need more than one weight if I’m using h1-h6 headings?

    Thanks!

    • This topic was modified 5 years, 5 months ago by Nate.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Oops! You’re right. That Id has no use there! I’ll fix that ASAP.

    As for recommended steps: using the ‘do not load’ checkbox you can unload any font style completely. So you can tailor it to your needs and wishes entirely!

    Hope it helps. Let me know if you need anything else!

    Thread Starter Nate

    (@goseongguy)

    Got it! Great, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Duplicate ID omgf-preload’ is closed to new replies.