Jump to content

How to remove underline in header navigation

Go to solution Solved by CassAggett,

Recommended Posts

Posted (edited)

Site URL: http://unifiedbrands.co.nz

Hey there,

I have turned the navigation links in my header section into pill shapes using CSS, but I cannot find the right code to remove the underline that shows under the link to the page the user is currently on.

Does anyone know how to remove this?

See image below

Website is www.unifiedbrands.co.nz

Thank you!

 

Screenshot 2024-10-08 at 3.14.49 PM.png

Edited by tsteww
  • Solution
Posted

@tsteww Try this:

// REMOVE NAV LINK UNDERLINE

body:not(.header--menu-open) .header-nav-item--active > a {
  background-image: none !important;
}

 

Instruction: How to set a site-wide password

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.

WEBSITEINSTAGRAM

 

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.