Jump to content

Border Underline in Header Nav

Go to solution Solved by jessmileur,

Recommended Posts

Hi, all!

I'm trying to add a colored bottom border to my header nav links. I've successfully coded the border, but my problem is that it inherits the text color, rather than the independent color I've coded in. Any thoughts as to what might be happening? Thanks! Code is below. 


.header-nav-item a {
  display: inline-block;
  color: #FFFFFF !important;
  text-align: center !important;
  border-color: #627360 !important;
  border-bottom: 2px solid !important;

Thanks in advance for any input!

Edited by jessmileur
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.