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
  • Views 641
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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

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.