• Resolved marioznmd

    (@marioznmd)


    Hi support and thank you for this awesome plugin,

    I need to completely remove the css -> font-display:swap , because it gives an ”error” in W3C validation and i need a 100% errorless report!

    I have completely remove google fonts (check by https://fontsplugin.com/google-fonts-checker/) and i use 100% Tahoma system font – so font ‘swap’ is useless to me..!

    The code that gives me the error is in line 3582 of the home page and i use ”Freshio” theme:

    <style id="freshio_options-dynamic-css" title="dynamic-css" class="redux-options-output">.site-header .site-branding img{height:82px;width:250px;}body, button, input, textarea{font-family:Tahoma,Geneva, sans-serif;font-weight:400;font-style:normal;font-display:swap;}h1, h2, h3, h4, h5, h6, blockquote, .widget .widget-title{font-family:Tahoma,Geneva, sans-serif;font-weight:700;font-style:normal;font-display:swap;}.freshio-breadcrumb{background-position:center center;background-image:url('https://mpaxarika-anatolia.gr/wp-content/uploads/2020/08/breadcrumb_bkg-2.jpg');}body.woocommerce-page:not(.single-product) .freshio-breadcrumb{background-position:center center;background-image:url('https://mpaxarika-anatolia.gr/wp-content/uploads/2020/08/breadcrumb_woo-3.jpg');}</style>

    How can i accomplish the above request?

    What files (and lines) i need to remove/comment out?

    Thank you in advance

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kev Provance

    (@kprovance)

    It’s an issue I’m looking into. I have no ETA when we’ll have a solution. Sorry.

    Plugin Author Kev Provance

    (@kprovance)

    Please try the beta version, v4.4.1.6, from our GitHub repo: https://github.com/reduxframework/redux-framework/archive/refs/heads/master.zip

    It’s more complicated than just commenting out a line as the output string you indicated is compiled based on how the theme author is using Redux, and that’s something we have no control over.

    However, I’ve taken the font-display attribute and removed it from the output string entirely and into the Google Font enqueue, which you say you are not using, so this issue should technically be resolved if the beta version works for you.

    Again, no ETA when it will be finalized and released in this forum. Soon.

    Thread Starter marioznmd

    (@marioznmd)

    Error fixed!

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove CSS ‘font-display:swap’ for W3C Validation’ is closed to new replies.