• Resolved zendeb

    (@zendeb)


    Please help. I’m not a techie guru. The mobile menu doesn’t drop down (or “open”) on my site. Am using Kadence Virtue theme. If the DISABLE JAVASCRIPT is checked in FVM, it works, but then my site times on GTMetrix are horrible. I don’t know how to troubleshoot to find out what it is. Would the menu need to be added to the “Ignore the following CSS and JS paths” and if so, what would be the line of code I need to enter there? Or is it something else altogether? I really like this plugin, it has given me the best times, except for the lost functionality of the menu bar on mobile. Thank you!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    When I access your site, there seems to be a problem related to jetpack and the photon cdn. All js files were returning “not found” for me, and it only worked after a while.
    I would recommend disabling jetpack completely, as it’s a very slow and bloated plugin.
    The free cdn also sucks… if you want a free cdn, try cloudflare.com and disable the jetpack cdn.

    Do not use the jetpack stats… use google analytics instead.

    If you already know it’s related to javascript, it’s relatively easy.
    First, disable the cdn option on jetpack, so you see the files loading immediatly from your site.

    Second, disable the js minification option, purge the cache and try again.
    If it doesn’t work, then proceed as following:

    Look at the status page and make a list of all js files by looking at the log.
    From what I saw, here’s a list for your site:

    /wp-includes/js/jquery/jquery-migrate.min.js
    /wp-content/plugins/woo-stickers-by-webline/public/js/woo-stickers-by-webline-public.js
    /wp-content/plugins/jetpack/_inc/build/photon/photon.min.js
    /wp-content/plugins/contact-form-7/includes/js/scripts.js
    /wp-content/plugins/email-subscribers/widget/es-widget.js
    /wp-content/plugins/email-subscribers/widget/es-widget-page.js
    /wp-content/plugins/quick-view-woocommerce/assets/js/xoo-qv-js-min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
    /wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
    /wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
    /wp-content/plugins/wish-list-for-woocommerce/assets/js/alg-wc-wish-list.min.js
    /wp-content/plugins/wish-list-for-woocommerce/assets/vendor/izitoast/js/iziToast.min.js
    /wp-content/plugins/ajax-search-lite/js/min-scoped/jquery.ajaxsearchlite.min.js
    /wp-includes/js/imagesloaded.min.js
    /wp-includes/js/masonry.min.js
    /wp-content/themes/virtue/assets/js/min/plugins-min.js
    /wp-content/themes/virtue/assets/js/main.js
    /wp-content/themes/virtue/assets/js/min/kt-add-to-cart-variation-min.js
    /wp-content/plugins/reduce-bounce-rate/js/analyticsjs.js
    /wp-includes/js/wp-embed.min.js
    /wp-includes/js/underscore.min.js
    /wp-includes/js/wp-util.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
    /wp-content/plugins/woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.min.js
    /wp-content/plugins/mailchimp-for-wp/assets/js/forms-api.min.js

    Enable js processing and copy paste all of them to the ignore list and save, and that will have the same effect and disabling js processing… so now you test the menu.

    If it works, you delete one by one until it breaks your menu again. When you delete a file from the ignore list and it breaks, you take note of which one.

    Add it back to the ignore list, and continue doing the same through the list (there may be others).

    In the end, you should have maybe one or 2 files on the ignore list.

    Thread Starter zendeb

    (@zendeb)

    Whew, thank you for all this information Raul, I REALLY appreciate your time and help. I will look into getting a cloudflare account pronto! Will let you know how it goes.

    Plugin Author Raul P.

    (@alignak)

    @dinkydino I appreciate your feedback.

    The issue is most probably related to PHP Minify.
    Can I suggest you update to the latest version, disable JS minification and purge the cache, to confirm this?

    Hi Raul,

    I’m having the same issue as Zendeb.

    Could you check out my site and also give me a list of *.js scripts that I will exclude then one by one eliminate and see which ones need to be excluded so my mobile menu works?

    Thanks!

    Also great plugin btw!

    Sorry my site is https://www.sisuguard.asia

    I’ve been googling on how to get the list of js scripts, I have no idea how @.@

    Thanks!

    Plugin Author Raul P.

    (@alignak)

    @cordz the list of files can easily be obtained on the plugin logs file.

    https://cdn.pbrd.co/images/H7K8d6q.png

    Just purge the cache (optional, but useful since you have less files to check), refresh the home page, and copy paste the files from the log only, like the example I gave above.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mobile Menu Issue’ is closed to new replies.