Jump to content

Colored bar behind primary navigation

Recommended Posts

Posted

Add to Design > Custom CSS

/* Fullwidth nav background */
.header-announcement-bar-wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.header-display-desktop {
    flex-direction: column;
}
.header-title-nav-wrapper {
    flex: 0 0 100% !important;
    margin-right: auto;
    width: 100% !important;
}
nav.header-nav-list {
    display: flex;
    width: 100%;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-color: #f1f2f3;
}
.header-nav-item a {
    line-height: initial;
}
.header-nav-item {
    margin: 0 !important;
    padding-left: 1vw;
    padding-right: 1vw;
    margin-left: -1px !important;
}

 

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!)

Posted
On 4/12/2022 at 11:36 PM, alishaserre said:

@tuanphanThank you so much! Is there a way to adjust the shopping cart to stay in the top right corner? The new layout has it layered in the middle of the nav. *screenshot attached.

Screen Shot 2022-04-12 at 11.34.43 AM.png

It looks like you solved this?

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!)

  • 3 months later...
Posted
18 hours ago, Anele0610 said:

Hello!

Having the same issue - the action button is now either just bellow the wrapper, or if i remove the column view, disappears altogether. 

I would like it to stay above the colored wrapper, top right, where it usually is. 

Link: https://cod-begonia-bja4.squarespace.com/ 

passw: annaboyd

The button should be here?

image.thumb.png.19731153c27fcb35d99e9b2f51fbce9c.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!)

  • 2 years later...
Posted
On 11/26/2024 at 8:05 PM, sethhoffman said:

Hi @tuanphan,

Looks like I have the same question as some other people that ghosted you (i won't 👻!). I created a custom cart but it gets pushed below the nav now. Is it possible to be displayed like the screenshot rather than what you see if you visit my dev site:

https://gerbil-oleander-g7sx.squarespace.com/workshops-events

Password: heather

Thanks in advance for any help!

Screenshot 2024-11-26 at 8.04.38 AM.png

You can use this to Custom CSS box

div.header-actions.header-actions--right {
    position: absolute;
    right: 1vw;
    top: 0
}

 

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!)

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.