Jump to content

Forcing mobile nav for desktop on Lange Template

Recommended Posts

  • Replies 5
  • Views 364
  • Created
  • Last Reply

Add to Home > design > Custom CSS

@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;
}

 

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
  • 1 month later...
  • 3 months later...
On 8/13/2020 at 10:52 PM, Ryan_design said:

billsilvaentertainment.com

Sorry, I thought Lange is SS 7.1 template

Remove above & add this to Home > Design > Custom CSS

/* remove desktop header */
header#header {
    display: none;
}
/* Show mobile header */
.mobile-bar-wrapper {
    display: flex;
}
.mobile-branding-wrapper {
    flex-grow: 1;;
}
svg.Icon.Icon--hamburger {
    fill: black;
    stroke: black;
}
label.mobile-nav-toggle-label {
    flex-grow: 1;
    text-align: right;
}

 

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

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.