Jump to content

Increase padding (margin?) of secondary header

Recommended Posts

Site URL: https://rectangle-panda-mjyt.squarespace.com/?p?p?p?p?p

password: bobcats2014

I have been trying to get my secondary header to line up with the other content in my webpage. Ideally, the secondary header would line up with the header below the secondary one. With the css provided, it lines up on the left, but it goes to the edge of the webpage on the right. What css should I use to have it line up with the right and the left of the header below; I assume adjusting margins just pushed things to the left causing it to not stop on the right where it should line up.

I have used this css to move the secondary header over to line up on the left with the lower primary header, but it just pushed how far the secondary header extends all the way to the right:

#wm-subnav .header-nav-wrapper {margin-left: 145px}

Edited by distyboy
clarity
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 4/11/2022 at 10:33 PM, distyboy said:

Site URL: https://rectangle-panda-mjyt.squarespace.com/?p?p?p?p?p

password: bobcats2014

I have been trying to get my secondary header to line up with the other content in my webpage. Ideally, the secondary header would line up with the header below the secondary one. With the css provided, it lines up on the left, but it goes to the edge of the webpage on the right. What css should I use to have it line up with the right and the left of the header below; I assume adjusting margins just pushed things to the left causing it to not stop on the right where it should line up.

I have used this css to move the secondary header over to line up on the left with the lower primary header, but it just pushed how far the secondary header extends all the way to the right:

#wm-subnav .header-nav-wrapper {margin-left: 145px}

Do you mean some thing like this?

image.thumb.png.0a1ae44270feaf7005f68516824c4cf0.png

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

Addting to Home design custom css

#wm-subnav .header-nav-wrapper {
  border-bottom: unset;
}

#wm-subnav {
    border-bottom: 2px solid #fff;
}

Let me know how it works

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.