Jump to content

[Share] Mobile menu width

Recommended Posts

You can use these CSS code to Website Tools > Custom CSS to change mobile overlay menu width on Mobile.

#1. Mobile Only

@media screen and (max-width:767px) {
  div.header-menu {
      left: unset;
      width: 70%;
  }
}

image.png.6176b3fd541e11db248b32fa51d3a53e.png

result

image.thumb.png.617432984f5cfe15173ca15d345eebf3.png

#2. Desktop Only

In case you use code to force the Mobile menu on the Desktop, to reduce the Mobile menu width on the Desktop Only, you can use this CSS code

@media screen and (min-width: 768px) {
  div.header-menu {
      left: unset;
      width: 30%;
  }
}

image.png.709ccd8eca9b5f33a40172f0ca92a712.png

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
  • Replies 0
  • Views 153
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.