Rparsons Posted December 29, 2021 Share Posted December 29, 2021 Site URL: https://www.innerabundancecounseling.com/ Hi there, I have watched a few vids about adding CSS to my site in order to have small tweeks. I am currently trying to reduce the padding around the "Home" button and the "Let's Work Together Button" so that the center navigation bar does not switch to two lines in the smaller window size (photos included). It seems like there is a lot of wasted space this way and I think it looks better all on one line rather than converting to the two line version in the smaller window. I was wondering if there is a way to adjust the code so that the navigation bar on the desktop website allows more "space" for the middle navigation area to stay on one line. Don't know if I need to adjust the padding somehow or change the layout or something. Thank you for the help! -Rparsons Link to comment
Beyondspace Posted December 30, 2021 Share Posted December 30, 2021 (edited) 10 hours ago, Rparsons said: Site URL: https://www.innerabundancecounseling.com/ Hi there, I have watched a few vids about adding CSS to my site in order to have small tweeks. I am currently trying to reduce the padding around the "Home" button and the "Let's Work Together Button" so that the center navigation bar does not switch to two lines in the smaller window size (photos included). It seems like there is a lot of wasted space this way and I think it looks better all on one line rather than converting to the two line version in the smaller window. I was wondering if there is a way to adjust the code so that the navigation bar on the desktop website allows more "space" for the middle navigation area to stay on one line. Don't know if I need to adjust the padding somehow or change the layout or something. Thank you for the help! -Rparsons Try .header-layout-nav-center .header-title { width: 20%; flex: 1 1 20%; } Let me know how it works on your site Support me by pressing 👍 if this useful for you Edited December 30, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Rparsons Posted December 30, 2021 Author Share Posted December 30, 2021 Thank you! That was a great fix! I used your code but changed the percentage to 0%. That did exactly what I wanted. Cheers! .header-layout-nav-center .header-title { width: 0%; flex: 1 1 0%; } 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