Jump to content

Decrease mobile breakpoint to show full navigation in tablet view

Go to solution Solved by Beyondspace,

Recommended Posts

When I view my site on an iPad in landscape view, I would like the full header navigation to display as it does on desktop view, instead of switching to the mobile header setting. Is there a way to decrease the mobile breakpoint in the custom css panel? 

http://www.haomaselections.com

Thanks in advance!

Edited by Haoma
include link
Link to comment
  • Solution
1 hour ago, Haoma said:

When I view my site on an iPad in landscape view, I would like the full header navigation to display as it does on desktop view, instead of switching to the mobile header setting. Is there a way to decrease the mobile breakpoint in the custom css panel? 

http://www.haomaselections.com

Thanks in advance!

Try adding to Home > Design > Custom Css

@media only screen and (pointer: coarse) and (max-width: 1024px), screen and (min-width: 768px) {
  .header-display-desktop {
    display: flex;
  }
  .header-burger {
    display: none;
  }
  .header .header-layout--with-commerce .header-title-nav-wrapper {
    flex: 1 0 67%;
    flex-wrap: nowrap;
    flex: 1 0 67%;
    display: flex;
    align-items: center;
  }
  .header .header-title-nav-wrapper .header-nav {
    display: block;
  }
  .header-display-mobile {
    display: none;
  }
  .header-display-desktop .showOnMobile {
    display: none;
  }
  .header-nav-list {
    flex-wrap: nowrap
  }
  .header .header-layout--with-commerce .header-title-nav-wrapper .header-title {
    width: 34%;
    text-align: center;
    flex: 1 1 34%;
  }
  .header .header-actions-action--social {
    display: flex
  }
}

Support me by pressing 👍  or marking as solution if this useful for you

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 1/16/2023 at 10:48 PM, Haoma said:

Thank you very much! Any chance you could help me centre the logo? 

Much appreciated!139443191_ScreenShot2023-01-16at11_46_27AM.thumb.png.4e14c960c59494d6364ed1755725e6e4.png

The logo looks already centered. Did you solve or still need help?

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.