• Resolved Jason

    (@stanleymog)


    Hi,

    I’m running WordPress 5.6.1 with Boutique Theme.

    For unknown reasons my mobile menu is no longer working, I have deactivated all my plugins but this has made no difference.

    The only thing that I have changed is my CSS which now has the following:

    .site-info a {
        display: none;
    }
    #site-navigation.toggled .menu {
        background-color: #fff;
    }
    initial-scale=1
    .dropdown-menu>li 
    {
    padding: 17px 15px;
    }

    I also have my Main menu set in ‘Handheld Menu’.

    It works when I’m on my laptop and go to ‘Appearance’ ‘Themes’ and selecting the mobile option, but I have tried it on 2 different phones and 2 different browsers with no luck.

    I should also point out that I have read other topics that are the same but nothing is working.

    Thanks in adavnce.

    • This topic was modified 3 years, 9 months ago by James Huff. Reason: marked Not Safe For Work (NSFW)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, @stanleymog

    It works when I’m on my laptop and go to ‘Appearance’ ‘Themes’ and selecting the mobile option, but I have tried it on 2 different phones and 2 different browsers with no luck.

    The trick is that when you are on desktop, the url of your site is just your url, when you are on mobile, a plugin automatically adds ?amp=1 that forces your site to display an optimized version of your webpage.

    You can add ?amp=1 on desktop as well and you can replicate the problem.

    I have deactivated all my plugins but this has made no difference.

    Can you identify in your plugins one that handles amp / optimization ? It may be a theme feature / theme extension.

    For some reason, your amp plugin interacts with the script that handles that menu. No Console errors are displayed, so I can’t tell you exactly what happens.

    Identify the plugin/theme feature and then ask the developer about that.

    Hope this helps,
    Kind regards.

    Thread Starter Jason

    (@stanleymog)

    Thank you Vlad T, I must have missed AMP out! I disabled it and the menu works, so I reconfigured it using Reader Template Mode and activated it, it now works fine.

    Thanks again.

    Happy to help! Glad it works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[NSFW] Mobile Menu No longer working’ is closed to new replies.