Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hamburger menu text


Robertjoseph

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...