Jump to content

How to remove the underlines in the navigation on hover

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi! I am having a hard time removing these lines that show up in the navigation and replacing them with new code that looks more like the default animated lines. These ones look more like underlines and not sure how to get rid of them.

 

I have already tired this code in css: 

.header-nav-wrapper a {
    background-image: none !important;
}

 

Website here:

https://www.designerkandb.com/

 

TIA!

  • Replies 5
  • Views 580
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (edited)

I viewed the website and I see the main navigation links at the top of the page with no underlines. There are underlines upon hovering each link but they look like animated lines.. a very nice effect. Have you refreshed your browser page?

If you want to completely remove the underlines upon hover you can try this:

.header-nav-wrapper a:hover {
    text-decoration: none !important;
}

Edited by MacGregor
Posted
6 minutes ago, madisonb said:

Thank you! I added the code and still nothing. Its very odd - never seen this happen before

Have you tried .header-nav-list instead of .header-nav-item ?

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.