Jump to content

Change hamburger to menu on mobile

Recommended Posts

  • Replies 3
  • Created
  • Last Reply
  • 10 months later...
On 4/1/2020 at 1:27 PM, tuanphan said:

Add to Home > Design > Custom CSS


.burger-box:after {
    content: "menu";
    width: 60px;
    height: 30px;
    display: block;
    color: black;
    font-size: 20px;
    visibility: visible;
}
.burger-box div {
    display: none;
}

 

Hey @tuanphan - is there a way to change the colour of the word MENU when it's active?

I've made it white but am using a sliding mobile menu so when the menu opens I'd like to change the colour to #e26253

Do you think that's possible?

Link to comment
On 2/15/2021 at 10:04 PM, Webswool said:

Hey @tuanphan - is there a way to change the colour of the word MENU when it's active?

I've made it white but am using a sliding mobile menu so when the menu opens I'd like to change the colour to #e26253

Do you think that's possible?

Try this code

.header--menu-open .burger-box:after {
	color: #e26253;
}

 

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.