PolyesterZine Posted September 20, 2022 Share Posted September 20, 2022 Site URL: https://www.polyesterzine.com/ Hi! I've made a page on the site to used instead of Linktree - http://polyesterzine.com/links - and used a header injection code from here - https://christyprice.com/blog/a-linktree-alternative-for-squarespace-users to remove the header and footer from the page, but on mobile it is leaving a massive gap at the top of the page. Attached a screenshot of what I mean! Is there a header injection code I can use to remove this? Thanks so much! Gina Link to comment
Ziggy Posted September 20, 2022 Share Posted September 20, 2022 It looks like there's a margin at the top of the page of 75px, that's pretty straightforward to fix, add this to your Custom CSS, and if 0px makes it too crowded at the top, then you can just increase the pixels to suit your design: main { margin-top: 0px; } Let me know if this works for you! 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
PolyesterZine Posted September 22, 2022 Author Share Posted September 22, 2022 Hey! I need that across the other parts of the site so a header injection code just for this page is what I need preferably x Link to comment
tuanphan Posted September 24, 2022 Share Posted September 24, 2022 On 9/22/2022 at 11:16 PM, PolyesterZine said: Hey! I need that across the other parts of the site so a header injection code just for this page is what I need preferably x Did you solve or still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
PolyesterZine Posted September 26, 2022 Author Share Posted September 26, 2022 Still need help please 🙂 Link to comment
tuanphan Posted September 27, 2022 Share Posted September 27, 2022 18 hours ago, PolyesterZine said: Still need help please 🙂 Above code doesn't work or? If you need code run on 1 page, you can add this code to Page Header <style> main { margin-top: 0px; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
PolyesterZine Posted September 27, 2022 Author Share Posted September 27, 2022 This is perfect thanks so much! x Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment