Jump to content

How to remove mobile text drop down menu and replace with hamburger on Avenue

Recommended Posts

Site URL: https://alexandrasaphire.squarespace.com/

Hello, Im trying to remove my mobile text drop-down menu and replace it with a hamburger. I found some code on another forum that allowed me to add the hamburger

/* HAMBURGER NAVIGATION */ #mobileMenuLink a:after { content: '☰'; color: hsl(63, 1%, 50%); width: 100%; text-align: left; position: absolute; top: 0; left: 0; }

But now i have both hamburger and text drop down menu and the hamburger is very tiny with no padding. 

Any help would be very much appreciated! Thanks!

Screen Shot 2022-01-31 at 12.04.16 PM.png

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

div#mobileMenuLink a {
    visibility: hidden;
    font-size: 0;
}
div#mobileMenuLink a:before {
    visibility: visible;
    content: "\e030";
    font-family: 'squarespace-ui-font';
    font-size: 50px;
    display: block;
}

 

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

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.