WeAcceptCrypto Posted February 22, 2020 Share Posted February 22, 2020 Site URL: https://www.weacceptcryptocurrency.com/ I added the following code to my site to add a hovering underline effect to the navigation bar: .header-nav-item a:hover { text-decoration: underline; } The problem is that once you actually click on a navigation link, the underline goes way lower vertically than the hover effect. This causes two separate underlines when you scroll over the same page that you're on. It's a minor issue but looks bad. Is there a way to make all of the nav bar underlines stay at the same vertical position as the hover effect? I want the underlines to be right under the words, so that once a page is clicked there is no double underline upon hovering. Link to comment
tuanphan Posted February 22, 2020 Share Posted February 22, 2020 Add to Custom CSS .header-nav-item--active a { background: none !important; text-decoration: underline !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
WeAcceptCrypto Posted February 22, 2020 Author Share Posted February 22, 2020 Worked perfectly. Thank you so much Tuan. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.