Jump to content

Make Navigation Bar color extend full width of screen but not move the text

Recommended Posts

I am trying to make the colored bar behind my navigation extend the full width of the screen without moving where the text is positioned.

None of the squarespace header layouts allow me to extend the color bar and line up the navigation and logo where they are.

I tried some css posted on another forum post but it then moves my text way over to the left.

.header-nav {
    background-color: #e6e3e3;
    flex: 0 100%;
    width: 100vw;
    display: block;
    position: absolute;
    bottom: -2.2vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;

This is the last step before finalizing my site and having it replace our current site so any help is much appreciated!

I've attached a picture of our current site and what I'd like it to look like.




Edited by SJonesOmega
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • SJonesOmega changed the title to Make Navigation Bar color extend full width of screen but not move the text

Thanks for that, but I'm slightly confused as to what you're wanting help with? 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.