vincelam Posted October 3, 2020 Share Posted October 3, 2020 (edited) Site URL: https://www.vincelam.com.au/ Hi there, I am trying to reduce the height of the header. It is too high to my liking on desktop view (mobile is good). Can someone help me? The height of the header is visible when scrolling on the homepage www.vincelam.com.au. Thank you in advance!! Edited October 3, 2020 by vincelam Link to comment
IXStudio Posted October 3, 2020 Share Posted October 3, 2020 Hi Use this code in Design -> Custom CSS .tweak-fixed-header .header .header-announcement-bar-wrapper { padding-top: 0vw !important; padding-bottom: 0vw !important; } Please use the like button if it helps you! Best, Leopold ABG_Books, ChristinaSimon, CazBot and 5 others 8 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
vincelam Posted October 5, 2020 Author Share Posted October 5, 2020 On 10/3/2020 at 9:23 PM, IXStudio said: Hi Use this code in Design -> Custom CSS .tweak-fixed-header .header .header-announcement-bar-wrapper { padding-top: 0vw !important; padding-bottom: 0vw !important; } Please use the like button if it helps you! Best, Leopold Thank you so much Leopold!! IXStudio 1 Link to comment
Seanth Posted March 3, 2022 Share Posted March 3, 2022 @IXStudio Thanks for sharing the code. Works great for me too! 😃 Link to comment
CraigN Posted January 11 Share Posted January 11 On 10/3/2020 at 12:23 PM, IXStudio said: Hi Use this code in Design -> Custom CSS .tweak-fixed-header .header .header-announcement-bar-wrapper { padding-top: 0vw !important; padding-bottom: 0vw !important; } Please use the like button if it helps you! Best, Leopold Is there anyway to activate this only after scroll (for scrollback headers). I need the padding at the top of the page, but after logo gets replaced with a smaller one after scroll I'd like to change CSS to this? ✦✦Co-founder Hundred Studio 👋 Link to comment
tuanphan Posted January 15 Share Posted January 15 On 1/11/2023 at 7:21 PM, CraigN said: Is there anyway to activate this only after scroll (for scrollback headers). I need the padding at the top of the page, but after logo gets replaced with a smaller one after scroll I'd like to change CSS to this? Try add this class name .shrink .header .header-announcement-bar-wrapper { padding-top: 0vw !important; padding-bottom: 0vw !important; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment