Title: Enque CSS Overwrite
Last modified: September 29, 2016

---

# Enque CSS Overwrite

 *  [EasyEl](https://wordpress.org/support/users/easyel/)
 * (@easyel)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/enque-css-overwrite/)
 * Hey there,
 * works like a charm. I have a small issue on our testing site (below):
 * If you scroll down to the grey bar “Vergleiche Modelle” below the three products
   an iframe opens. The CSS that overwrite the default style “mfp-iframe-scaler”
   has height 100% but is overwritten by the original when autoptimize does it´s
   magic. Any way to enqueue this?
 * Best,
    Elmar
 * [https://testing.aerobis.com/de/we-do/aerosling-slingtrainer/](https://testing.aerobis.com/de/we-do/aerosling-slingtrainer/)
    -  This topic was modified 9 years, 7 months ago by [EasyEl](https://wordpress.org/support/users/easyel/).

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/enque-css-overwrite/#post-8234253)
 * autoptimize runs after all enqueuing has been done, but you could try adding `
   dynamic_avia/aerobis.css` to the comma-separated CSS optimization exclusion-list?
 * hope this helps,
    frank
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/enque-css-overwrite/#post-8251856)
 * I just debugged a very similar issue a couple of days ago and there are other(
   better) solutions which will likely apply to your problem as well, have a look
   at [this blogpost I wrote about this](http://blog.futtta.be/2016/10/04/how-to-fix-css-media-types-impacting-autoptimized-css-order/).
 * The key takeaway here; check (and change) the css media type on `dynamic_avia/
   aerobis.css`.

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

The topic ‘Enque CSS Overwrite’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/enque-css-overwrite/#post-8251856)
 * Status: not resolved