Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
RaviB

Close Hamburger menu after clicking link to ID on page

Question

I'm on 7.1 and I have a CTA nav link that takes you to a location on the page via id. If the CTA link is clicked in the hamburger menu it scrolls down to the id but doesn't close the menu. Not only is the menu overlapping the page, it also hides the close button for the menu.

Anyone have suggestions on closing the hamburger menu after clicking the id link? I can't seem to use javascript in the link, otherwise I could even just reload the page with the correct id attached.

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0
3 hours ago, RaviB said:

alternately, can i disable the mobile menu?

Did you solve? 

If nav has only 2 items, you can disable mobile menu, replace with desktop menu

Share this post


Link to post
  • 0
3 minutes ago, tuanphan said:

Did you solve? 

No luck, I used CSS to disable the hamburger menu since I only have 2 items in it. One is a link away from squarespace and the other is the CTA which should take you down the page and is the cause of the problem. We're better off not getting people stuck on the site so I opted to remove it manually.

 

4 minutes ago, tuanphan said:

If nav has only 2 items, you can disable mobile menu, replace with desktop menu

Do you know if there's a clean way to disable the mobile menu through the settings?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...