• Resolved Gal Baras

    (@galbaras)


    When using the Divi builder and enabling the setting that optimises Google font loading, Divi adds CSS to the page, which should be removed.

    Depending on another setting, this may be added either inline or as an inclusion by the et_builder_preprint_font() function, and OMGF should dequeue whichever is used during page rendering.

    The following code SHOULD work (untested):

    remove_action( ‘wp_enqueue_scripts’, ‘et_builder_preprint_font’ );

    However, OMGF should leave these assets alone during font optimisation, or else it won’t find all the fonts on the site.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Better Divi integration’ is closed to new replies.