Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #309591

    Hey Guys,

    I don’t know if this has ever been addressed but this is something that bugs me greatly about the mobile hamburger nav slide out menu.

    website: http://www.jackandaddi.com
    Above is an image for reference to where I am talking about: the nav link client.

    In the wordpress back end this is set to no page content. So on full screen website when it is clicked nothing happens. Great. But on the mobile slide out nav when you click it, it highlights and closes the nav slider (like any other link) but then leaves you on the current page. I understand why this is happening of course. But for a user experience this is no good. for example someone new to your site would likely click on the parent page first and based on what they see happen think they went somewhere only to realize they didn’t and then get confused. Maybe even trying it once more. Before they then ether try the child page next or leave your site.

    the behavior that would be much better. Would be to make it so they weren’t clickable at all. I know there is two options were you can make child pages not show up on mobile and then when parents are clicked they reveal the children, this makes what I said not work of course. But if you have all pages displayed by default then it wouldn’t be a bother.

    Is there a way to make it so these aren’t clickable at all if we set the pages to # in the wordpress backend?This would be amazing
    thanks

    #309673

    Hey allegrabillings!

    Thank you for using Enfold.

    You can add this on Quick CSS or custom.css to disable the Clients menu item on mobile navigation:

    @media only screen and (max-width: 767px) {
    li#menu-item-1714 a {
    pointer-events: none;
    }
    }

    Best regards,
    Ismael

    #309971

    Thanks Ismael,
    this did but also didn’t work. It did in fact disable clients, but it also disabled the child page links. ideas?

    #310221

    Hi!

    Add a greater than sign to alter direct children only:

    @media only screen and (max-width: 767px) {
    li#menu-item-1714 > a {
    pointer-events: none;
    }
    }

    Regards,
    Josue

    #311119

    This last edit worked perfectly. thanks guys

    #311121

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Mobile hamburger nav glitch’ is closed to new replies.