• I have made a one page website with WordPress 6.1.1 theme Sydney 2.17 with a limited number of plug-ins.
    Everything is working fine, but on mobile devices the hamburger menu is not closing automatically. When I choose an item in the hamburger menu the jump to the anchored line will be made, but the menu is not closing.
    When I renew the webpage, the menu disappears and I am on the right place on the webpage.
    I have searched the internet, but did not found a solution.
    Also the CSS om the closed topic << https://wordpress.org/support/topic/hamburger-drop-menu-not-closing/ >> does not work for me.
    Can someone advice me what to do? Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter verdor

    (@verdor)

    In the meantime I have seen that the problem also occurs if the MS Edge window is so small that the hamburger menu has been displayed. So, it is not only a mobile device problem!

    Thread Starter verdor

    (@verdor)

    When the problem of the non-closing unfolded hamburburger will be solved, two more questions arise:
    – the color of the vertical menubar seems to be black. Where can I choose an other color?
    – hoovering over the menu items gives a orange/yellow textcolor. Where can I change that?
    Can all these problems be solved by custom CSS? Thanks in advance for thinking and especially thanks for a solution.

    Hi @verdor,

    Also the CSS om the closed topic << https://wordpress.org/support/topic/hamburger-drop-menu-not-closing/ >> does not work for me.
    Can someone advice me what to do? Thanks in advance.

    Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

    .sticky-active .sydney-offcanvas-menu.toggled {
      display: none;
    }

    Then clear any cache and run your test.

    Adding, to help us track progress easier, please raise new topics to separate your other questions. Please use one topic for one question to avoid endless thread in one topic. Thanks!

    Thread Starter verdor

    (@verdor)

    Great, THANKS, With this code the problem has been solved.
    Is it possible to make a reference to this topic with the working code in the closed topic (<< https://wordpress.org/support/topic/hamburger-drop-menu-not-closing/ >>) with the non-functioning code?

    You’re welcome!

    Is it possible to make a reference to this topic with the working code in the closed topic (<< https://wordpress.org/support/topic/hamburger-drop-menu-not-closing/ >>) with the non-functioning code?

    It is impossible, I am afraid. Because I am not able to add comment or edit the existing one in closed topic.

    Hope anyone with the same issue can find this topic.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hamburger menu not closing’ is closed to new replies.