Hamburger menu not opening on tablet (desktop & iPhone = OK!)

URL: https://www.lachabas.nl/
Product: X
Notes: This is a personal site for our family house in the south of France.

Hi dear X theme support,

I’m Dutch and my name is Jan-Pieter. Unfortunately I don’t have any knowledge of PHP whatsoever so I truly appreciate some help with the following: after installing ‘WP Fastest Cache’ the hamburger menu doesn’t open anymore on tablet (iPad Air 2 & 4). On desktop and smartphone everything works fine, except for the fact the ‘#x-section-…’ is added to the url (i.e. https://www.lachabas.nl/#x-section-2). I deactiveted the plugin but the menu still doesn’t open on tablet.

Any idea what the problem could be here? I hope you can help me out.

Many thanks in advance!

Kind regards,
JP

Hi There,

To fix this issue, please also add this custom CSS:

@media (max-width: 1024px){
    .x-nav-wrap.mobile {
        display: block;
    }
    .x-nav-wrap.mobile.x-collapsed {
        display: none;
    }
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Hope this helps!

Hi Thai,

Many thanks for the prompt reply! The menu is working now!!

Kind regards,
JP

Glad to hear that :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.