Jump to content

Help with Mobile Drop Down Menu

Recommended Posts

Hi All!

 

Would appreciate some help on this. On the desktop version of my site I put a little ||| icon that leads to a drop down menu. Unfortunately when I look at this on Mobile, I want the first thing the user sees to be the drop down menu pages, not the ||| symbol. I hope that makes sense. I've attached images!! thank you!

Screen Shot 2022-09-26 at 5.00.33 PM.png

Screen Shot 2022-09-26 at 4.51.18 PM.png

Screen Shot 2022-09-26 at 4.58.18 PM.png

Screen Shot 2022-09-26 at 4.58.23 PM.png

Link to comment
  • Replies 6
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Try adding this to Design > Custom CSS

@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
On 9/28/2022 at 5:35 AM, Mjhalo831 said:

Do you know if there is a way to make just that mobile text smaller or a different size? I see Squarespace allowed me to change the line spacing, but the size option I'm not seeing.

Use this new code

@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;
  }
.header-menu-nav-folder-content * {
	font-size: 10px !important;
}
}

 

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
  • 1 year later...

Thanks this is helpful! Is there any way of also keeping the nav bar button underneath the open dropdown? 

.header-menu-nav-folder[data-folder="root"] {
    display: none !important;
  }

This hides the menu dropdown button AND the work nav button. Is there a way to only hide 'menu>' and keep the 'work'

image.png.5965a01328a0ffa9483b0b24e47add75.png

Link to comment
On 6/24/2024 at 8:58 AM, HS1 said:

Thanks this is helpful! Is there any way of also keeping the nav bar button underneath the open dropdown? 

.header-menu-nav-folder[data-folder="root"] {
    display: none !important;
  }

This hides the menu dropdown button AND the work nav button. Is there a way to only hide 'menu>' and keep the 'work'

image.png.5965a01328a0ffa9483b0b24e47add75.png

Can you share site url? I can check & adjust code easier.

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.