Jump to content

Custom Hamburger Image on Desktop & Mobile ~ Alignment/Size issue

Go to solution Solved by Ziggy,

Recommended Posts

Hello lovely angels of Squarespace forum (and superhero @tuanphan)

I added a custom image for the hamburger and also made the mobile menu active for desktop view. It's working pretty well, I'm just having issues with the alignment and size. I want to icon to be relatively large (around 90 px wide), but on smaller screen and on mobile, the icon gets cut off. I can't figure out how to move the icons to the left a little so it doesn't get cut off.

Website: https://www.crystalmind.design/

PW: happydog



- Chloe

Here is the code I used:

/* Non-active burger */
.burger-inner:after {
    content: "";
    background-image: url(https://static1.squarespace.com/static/5ee903c7326ba435104d57a9/t/6362909e6596c42839983790/1667403934287/Hamburger.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: right;
    background-color: transparent !important;
    display: block;
    width: 100px;
    height: 60px;
.burger-inner>div {
    display: none !important;
/* Burger when active */
body.header--menu-open .burger-inner:after {
    background-image: url(https://static1.squarespace.com/static/5ee903c7326ba435104d57a9/t/6364ff46b118c16557fff23c/1667563334640/Hamburger_1.png) !important;


Screen Shot 2022-11-04 at 19.32.16.png

Screen Shot 2022-11-04 at 19.42.56.png

Link to comment
  • Solution

Hi there!

You just need to increase the width of the box that the burger menu live in to suit your custom icon (love the eye BTW!), this Custom CSS should do the trick:

.burger-box {

Hope that helps!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

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.