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

Underline on top navigation when on the page

Question

6 answers to this question

Recommended Posts

  • 0

I already have this code, see below (that underlines the link on hover) :

//Header Navigation.Header-nav-item::after { content: ''; background: #BB7939; height: 4px; width: 0%; display: block; margin-top: 3px !important; transition: width 1s;

}

And when I include the code you gave me, it underlines all of the links at the top. I just want it to underline the link of the current page you are looking at.

screen-shot-2019-09-01-at-60908-pm.png.74cfaac159783590876440c3e69e8021.png

Share this post


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...