Jump to content

Custom CSS - Mobile Dropdown Menu

Recommended Posts

Posted

Site URL: https://www.madorra.com

Hi everyone, I'd like to know if there is custom css I can use to avoid the need to "double click" my dropdown "menu" folder on mobile to see the options - see screenshots for reference. On desktop I just have the "menu", when I hover over it you see the different areas of the page that you can smooth scroll to. 

On mobile, you need to click the hamburger icon, which THEN brings you to the "menu" overlay THEN you need to click into that to see the options.

Anyway around this?

Screen Shot 2022-04-26 at 4.10.39 PM.png

Screen Shot 2022-04-26 at 4.10.26 PM.png

Screen Shot 2022-04-26 at 4.10.31 PM.png

  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

It is because the mobile has no mouse, it is the cursor which creates the hover and opens a dropdown. How would you duplicate that on mobile? Your finger can't do it on a tablet or desktop touch sceen either.  Hover effects for mobile create a lot of requests here, but they don't get fulfilled,  rarely, if at all. 

Posted

Add to Design > Custom CSS

/* Show Burger - All items */
@media screen and (max-width:991px) {
	.header-menu-nav-folder {
    transform: unset !important;
}
.header-menu-controls.container.header-menu-nav-item {
    display: none;
}
[data-folder="root"]>.header-menu-nav-folder-content:first-child {
    display: none;
}}

 

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!)

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.