alexsaphire Posted January 31, 2022 Share Posted January 31, 2022 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! Link to comment
tuanphan Posted February 4, 2022 Share Posted February 4, 2022 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment