Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Border Underline in Header Nav


jessmileur
Go to solution Solved by jessmileur,

Question

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 UNDERLINE//
.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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

I've solved my own problem just now with this update code:

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

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...