Title: Problem with autoptimize
Last modified: April 28, 2020

---

# Problem with autoptimize

 *  Resolved [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/)
 * Hello, the problem is that when you go to the site, this menu is loaded, from
   the screenshot above, but when we turn off autoptimize, everything is fine, what
   needs to be turned off so that the menu is not visible when loading?
 * > [View post on imgur.com](https://imgur.com/a/Z6lbDpV)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-autoptimize-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744118)
 * In addition to this item we use the paid service CriticalCSS
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744197)
 * seems like critical CSS is off now and the problem is gone, correct?
 * in that case you’ll probably have to add something like this to Autoptimize -
   > Critical CSS -> add CSS to all rules;
 *     ```
       @media(max-width:992px) {
       #main-menu{display:none !important;}
       }
       ```
   
 * hope this helps,
    frank
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744300)
 * Did not help
 * > [View post on imgur.com](https://imgur.com/tcOxW1R)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744321)
 * I’ll need to see it broken so I can investigate styles applied artofclouds ?
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744393)
 * Settings
 * > [View post on imgur.com](https://imgur.com/2N3DrFd)
 * > [View post on imgur.com](https://imgur.com/a/ImuprQW)
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744440)
 * There is css settings – [https://i.imgur.com/g0T44cv.png](https://i.imgur.com/g0T44cv.png)
   
   CriticalCSS – [https://i.imgur.com/63exrom.png](https://i.imgur.com/63exrom.png)
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744448)
 * Do you mean this?
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744451)
 * If you want to see how the menu is loading, go to the site via mobile phone
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744459)
 * These actions can lead to this behavior of the plugin.?
    Then find the css file
   that has @font-face code inside and adds font-display: swap inside it.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744488)
 * OK, can you change the extra CSS into the following?
 *     ```
       @media(max-width:992px) {
       .zn-res-menu-nav{display:none !important;}
       }
       ```
   
 *  Thread Starter [artofclouds](https://wordpress.org/support/users/artofclouds/)
 * (@artofclouds)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744562)
 * All the same, did not help 🙁
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12744606)
 * nah, clear your page cache, should be fine (as [https://artofclouds.ru/?frank-says=look-ma-no-cache](https://artofclouds.ru/?frank-says=look-ma-no-cache)
   works) 😉
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12826195)
 * No feedback so I assume this indeed got resolved by clearing the page cache? 
   Feel free to follow up if you still encounter issues!
 * have a nice day!
    frank

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

The topic ‘Problem with autoptimize’ 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/)

 * 13 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/problem-with-autoptimize-4/#post-12826195)
 * Status: resolved