Jump to content

Make my mobile menu look like this

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

On 7/9/2021 at 12:10 AM, will__lai said:

Site URL: https://willlai.com/

I want my mobile menu looks like these.On the top side or right side.  Thanks. 

IMG_0202.PNG

IMG_0203.PNG

Add to Design > Custom CSS

/* Mobile menu style */
@media screen and (max-width:767px) {
.header-menu.header-menu--folder-list.white {
    padding-top: 0 !important;
}
.header-menu.header-menu--folder-list {
    width: 70%;
}
.container.header-menu-nav-item {
    padding-left: 2vw;
    padding-right: 2vw;
}
.header-menu-nav-folder[data-folder="root"] {
    background: white;
}

}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...
23 hours ago, will__lai said:

If I want to put it to the right side or top side, how can I do?

Use new code

/* Mobile menu style */
@media screen and (max-width:767px) {
.header-menu.header-menu--folder-list.white {
    padding-top: 0 !important;
    left: unset !important;
}
.header-menu.header-menu--folder-list {
    width: 70%;
}
.container.header-menu-nav-item {
    padding-left: 2vw;
    padding-right: 2vw;
}
.header-menu-nav-folder[data-folder="root"] {
    background: white;
}

}

.header-menu-nav-folder.header-menu-nav-folder--active {
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.