sebradshaw88 Posted April 14, 2020 Share Posted April 14, 2020 Hello, I have forced mobile navigation on desktop as well as utilized a custom image for the hamburger icon. After you click on the hamburger it animates and creates a box around it. I need help removing the box around the icon as well as removing the animation on it. Here is the css I am using: /* 768 for tablet - desktop - 992 for desktop */ @media screen and (min-width:768px) { /* hide navigation */ .header-nav { display: none; } /* Hide header button */ .header-actions { display: none; } /* show burger */ .header-burger { display: flex; } /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible; } } //custom burger icon .burger-inner:after { content: ""; background-image: url(https://static1.squarespace.com/static/5e2b64bc8e27aa693a1d3a87/t/5e9615590f080378416014b7/1586894169574/Hamburger-White.png); background-size: contain; background-repeat: no-repeat; background-position: left; background-color: transparent !important; display: block; width: 600px; height: 20px; } .burger-inner:before {display: none; } Link to comment
tuanphan Posted April 15, 2020 Share Posted April 15, 2020 Add to Home > Design > Custom CSS .burger { outline: none !important; } 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.