Jump to content

Custom Burger Menu

Recommended Posts

Hi there!

 

I have edited my desktop site to allow for a burger menu to be displayed instead of several navigation links at the top. This works really well, however when I view it in the mobile version of the site it is showing the folder and then the links, is there any way I can have both a burger menu on the desktop and on the mobile site match?

The first two images are my desktop site which I really like. The 3rd and fourth images show the issue and the last image is my page set-up. 

 

Hope this makes sense, any help is truly appreciated! :)

Screenshot 2023-02-14 at 13.21.47.png

Screenshot 2023-02-14 at 13.21.56.png

Screenshot 2023-02-14 at 13.22.08.png

Screenshot 2023-02-14 at 13.22.17.png

Screenshot 2023-02-14 at 13.22.28.png

Link to comment

HELP NEEDED!

I have edited my desktop site to allow for a burger menu to be displayed instead of several navigation links at the top. This works really well, however when I view it in the mobile version of the site it is showing the folder and then the links, is there any way I can have both a burger menu on the desktop and on the mobile site match?

The first two images are my desktop site which I really like. The 3rd and fourth images show the issue and the last image is my page set-up. 

 

Hope this makes sense, any help is truly appreciated! 🙂

Screenshot 2023-02-14 at 13.21.47.png

Screenshot 2023-02-14 at 13.21.56.png

Screenshot 2023-02-14 at 13.22.08.png

Screenshot 2023-02-14 at 13.22.17.png

Screenshot 2023-02-14 at 13.22.28.png

Link to comment

Add to Design > Custom CSS

/* Show folder on Desktop - Normal nav on mobile */
@media only screen and (max-width: 767px) {
  .header-menu-nav-folder[data-folder="root"] {
    display: none !important;
  }
  .header-menu-nav-folder-content .header-menu-controls {
    display: none;
  }
  .header-menu-nav-folder:not([data-folder="root"]) {
    transform: unset;
    transition: unset;
  }
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.