Jump to content

Drop down menu mobile

Go to solution Solved by Beyondspace,

Recommended Posts

Hi, 

I'm looking to fix the dropdown menu on my mobile site.
On the desktop version I have a nice dropdown menu, however in the Mobile version, when clicking on it it opens a new page with the name of the folder which then has to be clicked on again to show the actual menu options which is a bit confusing.
I don't want to delete the folder because then I end up having all my menu options on the header in the desktop version. 
Is there any CSS for this or way around this? I've added ss of what I mean.

website is: https://www.pigeonhouse.ie

 

Thanks in advance! 

 

 

Screenshot 2022-12-12 at 14.19.10.png

Screenshot 2022-12-12 at 14.19.19.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
9 minutes ago, AnnabelleYLD said:

Hi, 

I'm looking to fix the dropdown menu on my mobile site.
On the desktop version I have a nice dropdown menu, however in the Mobile version, when clicking on it it opens a new page with the name of the folder which then has to be clicked on again to show the actual menu options which is a bit confusing.
I don't want to delete the folder because then I end up having all my menu options on the header in the desktop version. 
Is there any CSS for this or way around this? I've added ss of what I mean.

website is: https://www.pigeonhouse.ie

 

Thanks in advance! 

 

 

Screenshot 2022-12-12 at 14.19.10.png

Screenshot 2022-12-12 at 14.19.19.png

You can try adding to Home > Design > Custom Css

.header-menu-nav-folder[data-folder="root"]  {
  transform: translatex(-100%) !important;
}

.header-menu-nav-folder[data-folder="/options"] {
  transform: translatex(0) !important;
}
.header-menu-nav-folder[data-folder="/options"] > .header-menu-nav-folder-content > .header-menu-controls {
  display: none;
}

Support me by pressing 👍  or marking as solution if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.b26213ffe8b911b82cd1f87564590917.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 3 weeks later...
On 12/12/2022 at 2:30 PM, Beyondspace said:

You can try adding to Home > Design > Custom Css

.header-menu-nav-folder[data-folder="root"]  {
  transform: translatex(-100%) !important;
}

.header-menu-nav-folder[data-folder="/options"] {
  transform: translatex(0) !important;
}
.header-menu-nav-folder[data-folder="/options"] > .header-menu-nav-folder-content > .header-menu-controls {
  display: none;
}

Support me by pressing 👍  or marking as solution if this useful for you

Thanks a million, that worked perfectly! 

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.