Jump to content

Customize mobile breakpoint with 7.1

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

With 7.1, there are 2 types of display: desktop and mobile.

When the screen width become smaller, it changes from de sktop to mobile view. This change occurs when passing a certain width in pixels (mobile breakpoint).

How can I adjust this limit width with CSS?

Thanks a lot for the help! 🙂

Link to comment
  • 3 months later...
@media screen and (min-width:768px) {
 /* hide navigation */
    .header-nav {
    display: none;
}
/* Hide header button */
.header-actions {
    display: none;
}
/* show burger */
.header-burger {
  display: flex;
}
/* Show overlay mobile menu */
.header--menu-open .header-menu {
opacity: 1;
visibility: visible;
}
}

 

On 1/27/2020 at 4:42 PM, ManuMateo said:

With 7.1, there are 2 types of display: desktop and mobile.

When the screen width become smaller, it changes from de sktop to mobile view. This change occurs when passing a certain width in pixels (mobile breakpoint).

How can I adjust this limit width with CSS?

Thanks a lot for the help! 🙂

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.