Title: ETmodules again&#8230;
Last modified: July 3, 2019

---

# ETmodules again…

 *  Resolved [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * (@wppraesenz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/)
 * Dear Frank,
    as I know from previous questions of mine I know you have a heart
   for code idiots… 😀
 * Now I would like to exclude two fonts from being optimized:
    `https://praesenz-
   web.de/wp-content/themes/Divi/includes/builder/fonts/ETmodules_v2_4.ttf` & `https://
   praesenz-web.de/wp-content/themes/Divi/includes/builder/fonts/ETmodules_v2_4.
   woff`
 * Not the fonts, but the optimization causes problems (AO shut off: no problem):
   Creating error messages (in Google Dev Console) and slows the site in page speed(
   gtmetrix for example).
 * I found the thread here:
    [https://wordpress.org/support/topic/how-would-i-exclude-modules-from-the-css/](https://wordpress.org/support/topic/how-would-i-exclude-modules-from-the-css/)
 * The fonts are part of the Divi theme, so
    1. excluding the whole style.css in
   AO would reduce the AO effect, I suppose… but this would let the fonts stay. 
   2. And after a research (code idiot) because of your answer in the thread above:
   removing a font by the child theme is not really possible, only changing it to
   death – but this then would not prevent from loading it first and causing the
   same problems. (correct me if I´m wrong) 3. Is it effective/working to copy and
   paste the whole style.css of the parent into the child style.css and delete the
   ETmodules fonts there? Thanks for both, plugin and support and greetings!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fetmodules-again%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11696047)
 * yes you could use your child theme CSS, but you would have to [dequeue the parent theme CSS to avoid it is loaded](https://wp.zacgordon.com/2015/05/13/how-to-deregister-unqueue-and-unhook-a-parent-theme-css-stylesheet/).
 * hope this helps,
    frank
 *  Thread Starter [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * (@wppraesenz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11696192)
 * Thanks for your quick answer!
    Just to clear it: So I copy and paste the contents
   of the parent´s style.css into the style.css of the child theme and enclose <?
   php wp_dequeue_style( $style.css ) ?> into the functions file wp-includes/functions.
   wp-styles.php ?
 * The disadvantage I see is that theme updates that include changes in the style.
   css would now be suppressed…
    -  This reply was modified 6 years, 10 months ago by [wpprup](https://wordpress.org/support/users/wppraesenz/).
    -  This reply was modified 6 years, 10 months ago by [wpprup](https://wordpress.org/support/users/wppraesenz/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11696735)
 * correct, but not sure what `$style.css` really should be.
 * maybe ask ET/ Divi support how not to load those font-files?
    -  This reply was modified 6 years, 10 months ago by [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/).
 *  Thread Starter [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * (@wppraesenz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11704408)
 * Thanks, will do that…
    -  This reply was modified 6 years, 10 months ago by [wpprup](https://wordpress.org/support/users/wppraesenz/).
 *  Thread Starter [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * (@wppraesenz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11740315)
 * Hello Frank,
    after many days I have found the solution! 🙂
 * Some time ago I enclosed CSS for inlining and deferring. Some time later Divi
   changed the links to the fonts in question and so from then on AO (or was it 
   me? 😉 ) “creates” an error message!
 * So it is a good idea to renew the CSS for inlining/defering now and then – just
   to give others a hint… can happen with any code/link!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11740375)
 * ah indeed, if you’re not using [the automated “critical CSS”-plugin](https://wordpress.org/plugins/autoptimize-criticalcss/)
   you will have to update rules yourself regularly! 🙂
 *  Thread Starter [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * (@wppraesenz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11740434)
 * Ohhhyesss…now I know… 😀

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

The topic ‘ETmodules again…’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [remove](https://wordpress.org/support/topic-tag/remove/)

 * 7 replies
 * 2 participants
 * Last reply from: [wpprup](https://wordpress.org/support/users/wppraesenz/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/etmodules-again/#post-11740434)
 * Status: resolved