agmantia Posted November 16, 2020 Share Posted November 16, 2020 hi all, Im trying to remove the padding between the links, header, and elements of my header in 7.1. I am able to change the spacing between the links themselves, but I want them to be able to fill all the space in the center of the header. Also, is there a way to have the distance between the social links and the page links independent of each other? @tuanphan Link to comment
IXStudio Posted November 16, 2020 Share Posted November 16, 2020 Hi, Please share your website URL. Best, Leopold Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
tuanphan Posted November 17, 2020 Share Posted November 17, 2020 Hi, Try adding to Home > Design > Custom CSS. If it doest work, please share site url. /* Nav one line */ .header-title-nav-wrapper { flex: 1 0 90%; } .header-layout-nav-center .header-nav { width: 100% !important; flex: 1 1 100%; } benja 1 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
agmantia Posted November 19, 2020 Author Share Posted November 19, 2020 On 11/17/2020 at 3:04 AM, tuanphan said: Hi, Try adding to Home > Design > Custom CSS. If it doest work, please share site url. /* Nav one line */ .header-title-nav-wrapper { flex: 1 0 90%; } .header-layout-nav-center .header-nav { width: 100% !important; flex: 1 1 100%; } this fixed it! Link to comment
BethanyBoss Posted September 29, 2023 Share Posted September 29, 2023 On 11/17/2020 at 2:04 AM, tuanphan said: Hi, Try adding to Home > Design > Custom CSS. If it doest work, please share site url. /* Nav one line */ .header-title-nav-wrapper { flex: 1 0 90%; } .header-layout-nav-center .header-nav { width: 100% !important; flex: 1 1 100%; } I've got the same issue, @tuanphan, but I'm not sure where "home" > "design" is. I tried putting your code under the gear icon for the home page > advanced > custom CSS snippet. But it just showed the code along the top of the website when applied. Any advice?! My URL is currently welcholsen.squarespace.com and right now, if I'm previewing on a smaller desktop / device size, the nav links wrap to two lines. Link to comment
Lesum Posted September 29, 2023 Share Posted September 29, 2023 @BethanyBoss Try adding this code under Website > Utilities > Website Tools > Custom CSS .header-nav-list { flex-wrap: nowrap !important; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
BethanyBoss Posted October 3, 2023 Share Posted October 3, 2023 On 9/29/2023 at 10:18 AM, Lesum said: @BethanyBoss Try adding this code under Website > Utilities > Website Tools > Custom CSS .header-nav-list { flex-wrap: nowrap !important; } @Lesum — You're the best!! That did the trick. Thank you so much. 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