Jump to content

Nudge Hamburger Icon Higher on Mobile

Go to solution Solved by Ziggy,

Recommended Posts

https://pineapple-saxophone-jrkr.squarespace.com/

password: tunika

Hi! I have a custom "dot" hamburger icon. However, I would love to nudge it a little higher up by a pixel or two. Is there a way to do this? Below is the code I'm currently using for the custom icon: 

.burger-box:after {
content: "•";
text-align: right;
font-size: 100px;
color: #EE6C70;
display: block !important;
}

.burger-box {
  width: 20px !important;
  height: 40px !important;
}

.burger-box div {
display: none;
}

IMG_741F9BC4374D-1.thumb.jpeg.57409cd4c43efb9bf1084c8d1da77775.jpeg

Link to comment
  • Replies 3
  • Views 201
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

Adding a negative margin should do it:

.burger-box:after {
  margin-top:12px;
}

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
2 minutes ago, kaydotjpg said:

@Ziggy thank you <3333

NP, thanks for marking as the solution and thumbs up!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (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.