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

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

Hi. Your site is private. Can you setup password & share url? We can help easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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