Changing the Hamburger Menu Icon (.svg)
This one requires a few steps, but totally possible!
Upload SVGs onto your site
Unfortunately, there currently isnât an easy way to upload SVG images, so this is going to be a process!
Have your SVG file ready. You can right-click this link and select Save Link As to save the ilovecreatives-hamburger-menu.svg to your computer. You can also find a ton of SVGs on the Noun Project
Open your style guide page (or really any page because you can delete this later) and type âwhateverâ in a text block. It doesnât matter what word you type, we just need a way to create a text link
Highlight the text you just wrote and hit âK. Alternatively, you can click the đ icon in the text editor
In link settings, select Files and upload your SVG file. Make sure you select the svg, hit Save, and Apply (see example on the right)
Your link should look like this: whatever
Right-click that link and select Copy Link Address. Save this URL - youâll need it for the next step (see âreplace with your svg URLâ in the CSS)
Copy and Paste CSS
7.0
/* Hamburger Menu â Mobile */ .Mobile-bar-menu { background-image: url('https://ilovecreatives.com/s/ilovecreatives-hamburger-menu.svg'); /*replace with your SVG URL*/ background-size: contain; background-repeat: no-repeat; height: 20px; /*adjust based on image*/ width: 30px; /*adjust based on image*/ } .tweak-mobile-bar-menu-icon-hamburger .Mobile-bar-menu .Icon--hamburger { display: none; }
7.1
/* Hamburger Menu â Mobile */ .burger { background-image: url('https://ilovecreatives.com/s/ilovecreatives-hamburger-menu.svg'); /*replace with your SVG URL*/ background-size: contain; background-repeat: no-repeat; background-position: left; background-color: transparent !important; height: 20px; /*adjust based on image*/ width: 30px; /*adjust based on image*/ } .burger-inner { display: none; }
I donât see my icon!
Double check that your URL for your SVG icon is correct. When you copy CSS from the Developer Tools, the URL is truncated automatically. The best way to find out is to open the URL in a new window and see if your image shows up.
NOTE: if your site is in Trial Mode, you might not be able to see your icon. This is because Squarespace doesnât allow external access to uploaded files on trial sites. When you upgrade your site to a paid plan, youâll be able to see your SVG! For more info check out this forum.
Why canât I just add an SVG into CSS > Manage Custom Files
It seems like Manage Custom Files only accommodates Images (JPG, GIF, PNG) and Font files, but weâve definitely requested for Squarespace to add this feature!