Jump to content

Hamburger menu text

Recommended Posts

Site URL: https://gecko-kangaroo-fesb.squarespace.com/

I've just successfully used the following code to change the navigation menu to a hamburger and to make the hamburger larger

 

@media screen and (min-width:950px) {.header-nav, .header-actions { display: none!important} .header-burger { display: flex!important;} .header--menu-open .header-menu {opacity: 1; visibility: visible;}}
.burger-inner .top-bun, .burger-inner .patty, .burger-inner .bottom-bun {
    height: 6px;
    width: 50px;
}
.burger--active .burger-inner .top-bun,
.burger--active .burger-inner .bottom-bun {
  width: 50
    px;
}
.burger--active .burger-box {
  right: 30px;
}
 

But, I also want to insert the word 'Menu' above it. 

I've tried this:

/* Menu text */
.mobile-nav-toggle:before {
    content: "Menu";
    position: relative;
    left: -50px;
}

But it didn't work

Thank you in advance

Link to comment
  • Replies 1
  • Views 344
  • Created
  • Last Reply

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.