mbockmaster Posted April 5 Share Posted April 5 Hello! I was able to get a sticky nav working well thanks to @tuanphan and @Ziggy's work in other threads. I've got just one small snag I can't figure out. I have a burger menu on desktop and mobile. When the user scrolls down the page and then clicks to open the burger menu, the shrink header spacing is being applied. Screenshots attached as I'm having a hard time describing. I can't seem to isolate this in the CSS. I would be so grateful for your insight! page password: 140ann Link to comment
Ziggy Posted April 5 Share Posted April 5 Sure, can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
mbockmaster Posted April 5 Author Share Posted April 5 Oops! It's https://www.andasanas.com/yoga-classes Link to comment
Ziggy Posted April 6 Share Posted April 6 Does this help? .header-layout-branding-center .header-title { 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 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
mbockmaster Posted April 6 Author Share Posted April 6 Thanks for looking! Unfortunately not. That code targets the entire header whereas I need to fix the spacing only on shrink. Link to comment
tuanphan Posted April 8 Share Posted April 8 On 4/7/2023 at 1:10 AM, mbockmaster said: Thanks for looking! Unfortunately not. That code targets the entire header whereas I need to fix the spacing only on shrink. Change code to this header#header.shrink .header-title { margin-top:12px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
mbockmaster Posted April 17 Author Share Posted April 17 Thanks @tuanphan. That doesn't seem to help, perhaps I'm not explaining well. I made a super quick screen recording: https://watch.screencastify.com/v/lEWqCj4u0d0R2yOhcgLV Thanks so much for your help! Link to comment
mbockmaster Posted April 25 Author Share Posted April 25 Hi @tuanphan, sorry to be a bug! Just curious if you have any ideas to fix this issue 🙂 Link to comment
mbockmaster Posted April 25 Author Share Posted April 25 Oh my gosh, through so much trial and error, I was able to fix it on my own!!! I used the selectors below and gave it the same padding as the .header-announcement-bar-wrapper 🙂 .header--menu-open .shrink .header-announcement-bar-wrapper tuanphan 1 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