noahawaii Posted January 26, 2023 Share Posted January 26, 2023 It's very subtle, but there's a small shrink and grow on the header when a user starts to scroll down, and I was wondering how I could disable it to just reflect the smaller of the two. Thanks you Link to comment
noahawaii Posted January 26, 2023 Author Share Posted January 26, 2023 https://noahlangphotography.com/blog Link to comment
Ziggy Posted January 26, 2023 Share Posted January 26, 2023 Add this to your Custom CSS: .tweak-fixed-header:not(.sqs-edit-mode-active):not(.sqs-site-styles-active) .header.shrink .header-announcement-bar-wrapper { padding-top: 1vw !important; padding-bottom: 1vw !important; } Let me know if that help! Give me a thumbs up if you can, thanks! 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
noahawaii Posted January 26, 2023 Author Share Posted January 26, 2023 2 hours ago, Ziggy said: Add this to your Custom CSS: .tweak-fixed-header:not(.sqs-edit-mode-active):not(.sqs-site-styles-active) .header.shrink .header-announcement-bar-wrapper { padding-top: 1vw !important; padding-bottom: 1vw !important; } Let me know if that help! Give me a thumbs up if you can, thanks! I edited that css on purpose to 0.75vw to give the user more room to see the content so is there a way to keep it at 0.75vw without the shrink? Link to comment
Ziggy Posted January 26, 2023 Share Posted January 26, 2023 Yes, delete the code you added, and change it in the header settings. 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
noahawaii Posted February 2, 2023 Author Share Posted February 2, 2023 On 1/26/2023 at 5:58 AM, Ziggy said: Yes, delete the code you added, and change it in the header settings. The problem is that I want the header to be the custom size that I set it to. I don't want to delete the code. I just want it to stay the size that its set at. 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