Jump to content

Changing the background colour on the nav.header.list

Recommended Posts

Is it possible to make the background behind the navigation text ONLY go all the way to the edge like this screenshot attached? I can get the grey colour behind the text using some code but it doesn't go all the way to the edge:

nav.header-nav-list { 
    -ms-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
div.header-nav-item--active>a {
    color: #e95d43 !important;
.header-nav-item a:hover {
    color: #e95d43 !important;
.header-menu-nav-item a {
    font-size: 14px;
/* Nav black */
nav.header-nav-list>div {
    background-color: #566175;
    padding-right: 4%;
    padding-left: 4%;

Screen Shot 2023-06-25 at 3.14.46 pm.png

Link to comment
  • Replies 1
  • Views 297
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.