• 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 CAOS should dequeue whichever is used during page rendering.

    The following code SHOULD work (untested):

    remove_action( 'wp_enqueue_scripts', 'et_builder_preprint_font' );

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

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