Jump to content

Change hamburger to menu on mobile

Recommended Posts

Site URL: https://marcusrsl.com

Hi, I am looking to change the hamburger icon on my desktop site to just saying menu, and the menu opens with the options taking up the whole screen, I would like to change this to a drop down.

PASS MR22

v 7.1

Screen Shot 2020-03-31 at 16.36.36.png

Screen Shot 2020-03-31 at 16.36.29.png

Edited by MarcusRSL
Link to comment

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

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.