Jump to content

Adjusting The Padding on Site Header

Recommended Posts

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

Screen Shot 2021-12-29 at 12.13.54 PM.png

Screen Shot 2021-12-29 at 12.13.59 PM.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

Screen Shot 2021-12-29 at 12.13.54 PM.png

Screen Shot 2021-12-29 at 12.13.59 PM.png

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 by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.