Jump to content

Adding a border above navigation links in 7.1

Recommended Posts

Site URL: https://www.codasevents.com/home-new

Hi there! 

I'm trying to add a 1pt white border above this site's navigation links that spans the full width of the header, however, the code that I used to achieve this in 7.0 is not working in 7.1.

I've been able to add the border below the navigation links (screenshot attached), but would like to mirror this above the links as well to separate them from the header branding.

Any tips would be appreciated – thanks so much! 

Screen Shot 2021-05-25 at 7.31.48 PM.png

Link to comment
9 hours ago, lindsayscholz said:

Site URL: https://www.codasevents.com/home-new

Hi there! 

I'm trying to add a 1pt white border above this site's navigation links that spans the full width of the header, however, the code that I used to achieve this in 7.0 is not working in 7.1.

I've been able to add the border below the navigation links (screenshot attached), but would like to mirror this above the links as well to separate them from the header branding.

Any tips would be appreciated – thanks so much! 

Hi. YOu mean add line here?

image.thumb.png.c9f0152c132702fd10acec02c0927687.png

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
18 hours ago, lindsayscholz said:

Yes, exactly that! Thanks so much.

 

 

 

Add to Design > Custom CSS

/* Nav line */
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 100% !important;
    flex-direction: column;
    width: 100% !important;
}
.header-display-desktop {
    flex-direction: column;
}
.tweak-fixed-header .header .header-announcement-bar-wrapper {
    padding-left: 0;
    padding-right: 0;
}
.header-nav {
    width: 100%;
    border-top: 1px solid white;
    padding-top: 15px;
}

 

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
  • 1 year later...
  • 2 months later...
1 hour ago, StudioPerkyNZ said:

I've used this method but in doing so, my cart has dropped underneath the links. Is there a way to fix this?

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 3 months later...
On 5/28/2021 at 7:06 AM, tuanphan said:

Add to Design > Custom CSS

/* Nav line */
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 100% !important;
    flex-direction: column;
    width: 100% !important;
}
.header-display-desktop {
    flex-direction: column;
}
.tweak-fixed-header .header .header-announcement-bar-wrapper {
    padding-left: 0;
    padding-right: 0;
}
.header-nav {
    width: 100%;
    border-top: 1px solid white;
    padding-top: 15px;
}

 

I'm having issues with this code, its scrambling my navigation items (first screenshot).Screen Shot 2023-09-14 at 12.22.28 PM.png I would like the items arranged horizontally (second screenshot) with a line above the links. Screen Shot 2023-09-14 at 12.22.59 PM.png

Site : www.petalumariverpark.squarespace.com

PW: park

 

 

Edited by 2birds
Link to comment
On 9/15/2023 at 2:25 AM, 2birds said:

I'm having issues with this code, its scrambling my navigation items (first screenshot).Screen Shot 2023-09-14 at 12.22.28 PM.png I would like the items arranged horizontally (second screenshot) with a line above the links. Screen Shot 2023-09-14 at 12.22.59 PM.png

Site : www.petalumariverpark.squarespace.com

PW: park

 

 

I see you solved?

image.thumb.png.116b0074eb5cfc2e72d3e35994838096.png

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

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.