Jump to content

Is it possible? Hide folder on mobile nav only

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://tambourine-khaki-6f3e.squarespace.com/

Hi! 

I wanted to tuck all of my navigation links into a neat little folder that I called "+" for the most minimal look (it's hidden on the home page, but visible on all the other pages). However, the only downfall is when you switch to mobile, and click the hamburger menu, it takes you to folder labeled "+" before taking you to the main links, makes sense, but I feel it's unnecessary and unsightly on the mobile version. Is there anyway around this? I want to keep the "+" folder on desktop, but just have the main 3 links without the folder while on mobile. I hope this makes sense! 

password: brineintopedro 

Link to comment
  • Replies 6
  • Views 711
  • Created
  • Last Reply

Top Posters In This Topic

13 hours ago, kaydotjpg said:

Site URL: https://tambourine-khaki-6f3e.squarespace.com/

Hi! 

I wanted to tuck all of my navigation links into a neat little folder that I called "+" for the most minimal look (it's hidden on the home page, but visible on all the other pages). However, the only downfall is when you switch to mobile, and click the hamburger menu, it takes you to folder labeled "+" before taking you to the main links, makes sense, but I feel it's unnecessary and unsightly on the mobile version. Is there anyway around this? I want to keep the "+" folder on desktop, but just have the main 3 links without the folder while on mobile. I hope this makes sense! 

password: brineintopedro 

I can not see the hamburger menu at the moment. Do I miss any of your point?

image.thumb.png.a78f648fe2769ed0dd72ecfb90d9786c.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • Solution
2 hours ago, kaydotjpg said:

hi @bangank36 the menu is on every page except the home page (so please select the "deli menu", "about" or "in store" buttons)

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  [data-folder="root"] {
    display: none;
  }

  [data-folder="root"] + div {
    transform: translatex(0);
    will-change: transform;
  }

  [data-folder="root"] + div .header-menu-nav-folder-content > .header-menu-controls {
    display: none;  
  }
}

I also hide the back button on mobile

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.865f47ca6077e0c190373bf0c24fe4b0.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 11 months later...

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.