• Resolved David13_13

    (@david13_13)


    Hello,

    I’ve tried all possible settings and it still loads the css plugin I’ve already excluded.

    I want to exclude CSS from plugin WP Mobile Menu, so I added this to the excluded CSS

    /wp-content/plugins/mobile-menu/, wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css

    I also tried various orders, none worked:

    wp-content/cache/, wp-content/uploads/, /wp-content/plugins/mobile-menu/, admin-bar.min.css, dashicons.min.css

    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css, /wp-content/plugins/mobile-menu/

    I’ve unchecked also the “minimize CSS and JS excluded”

    So, I guess with these settings it should not minify it more. But well, it does. If I check the page adding the parameter:

    ?ao_noptimize=1

    It works well, so the problem is caused by Autoptimizer. Do you know what I’m doing wrong?

    Thanks

    • This topic was modified 4 years, 10 months ago by David13_13.
    • This topic was modified 4 years, 10 months ago by David13_13.
Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    can you share your site’s URL david13_13 so I can have a look at what is (not) happening?

    Thread Starter David13_13

    (@david13_13)

    Sure, it’s:

    f – a – t – d – o – f – i – t.com/es/comunidad

    Remove spaces. Thanks

    Thread Starter David13_13

    (@david13_13)

    I also see a strange effect in the body content when Autooptimize is working.

    When you refresh this page, you can see just at the beginning the original colors in blue for links, later they change. it’s very annoying.

    If I disable it, I can’t see that.

    /es/comunidad/?ao_noptimize=1

    Regards

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Had a look at the non-optimized page source (by adding ?ao_noptimize=1 to the URL) and there is no CSS (or JS) loaded from plugins/mobile-menu David, so the exclusion cannot work.

    moreover with AO disabled the mobile menu looks empty as well (well, it’s white on white I think), looks like you’ll have to dive in the original CSS to fix this rather then excluding from CSS optimization?

    Thread Starter David13_13

    (@david13_13)

    I have to exclude it because the author said me there are some incompatibilities and if I don’t hide it, it’s not loaded:

    https://www.wpmobilemenu.com/knowledgebase/tips-tricks/exclude-mobile-menu-css-from-autoptimize/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re “I also see a strange effect in the body content when Autooptimize is working.” that’s likely style being added by JS which when autoptimized is loaded late, you would have to exclude that from optimization to stop that from happening.

    Thread Starter David13_13

    (@david13_13)

    If you check the site with ?ao_noptimize=1, you can see that the mobile menu loads perfectly.

    So it must be something in the autoptimze settings that doesn’t let it load properly, no?

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Weird; the menu was blank for me when loading with ?ao_noptimize=1 David?

    Thread Starter David13_13

    (@david13_13)

    For me it’s working, see:

    https://prnt.sc/satai3

    Try to clear browser cache

    Without it:

    https://prnt.sc/satbs0

    • This reply was modified 4 years, 10 months ago by David13_13.
    • This reply was modified 4 years, 10 months ago by David13_13.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the author said me there are some incompatibilities and if I don’t hide it, it’s not loaded

    the problem is there is no plugins/mobile-menu to be found in the unoptimized page source David;

    So if it’s not there, AO has nothing to exclude.

    re. mobile menu working or not; will have a closer look later tonight, got to spend some time with wife & daughter now ??

    Thread Starter David13_13

    (@david13_13)

    Not sure what is happening, but I’m 100% sure that using that parameter in the URL, the mobile-menu loads perfectly. So it must be something working wrong at one side or the another.

    I’m trying to review it with Mobile Menu author. I’ll keep you posted if I receive some comments.

    Thanks for your help

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    retried (had to disable AsyncJS too else when AO is off the menu doesn’t work due to JS errors), still a white menu David;

    Thread Starter David13_13

    (@david13_13)

    Hey,

    I don’t know what happens, if I use the URL parameter the menu works for me. How is that you can’t see it well?

    It’s very strange…

    Thread Starter David13_13

    (@david13_13)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    and adding this additional CSS;

    
    .mkd-mobile-header-inner, .mkd-mobile-nav{background-color:black !important;}

    fixes it;

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Exclude is not working’ is closed to new replies.