kaydotjpg Posted April 20, 2023 Posted April 20, 2023 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; }
Solution Ziggy Posted April 20, 2023 Solution Posted April 20, 2023 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Ziggy Posted April 20, 2023 Posted April 20, 2023 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment