Jump to content

Full screen hamburger menu

Recommended Posts

Hey, 

I have a navigation menu for mobile. I want this hamburger menu to go full-screen, instead of opening up above. Right now, when it's clicked, a small navigation menu is opening up from above.

I'm adding two images, first one is what it looks like right now, and the second one is how I want it to look like. Is this something I can do with just custom CSS? Would anyone know how I can achieve this? Here is my website: https://www.esinozcan.com/

Screenshot 2023-06-26 at 15.09.13.png

Screenshot 2023-06-26 at 15.08.37.png

Link to comment
  • Replies 2
  • Views 339
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Try adding to Design > Custom CSS

div#mobileNav.menu-open {
    position: fixed;
    height: 100vh !important;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-open div#mobileNavWrapper {
    background: white;
}

 

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.