Jump to content

How to change width of custom underline on nav dropdown?

Recommended Posts

Site URL: https://www.thebevystore.online/shop-bevy

Hello, 

I have a custom nav underline but on dropdown it extends further than I would like it to (see screenshot). I would like to shorten the length of it but can't figure out how to do this. I have tried width % etc. but it is not working. 

 

This is the code I have: 

.header-nav-item--active a {
   border-bottom: 4px solid #FF7CBD !important;
   background-image: none !important;
   
}

1832675826_Screenshot2021-03-30at13_47_14.png.75198ab66f9a3126eb11fd810542cf67.png

 

Anyone have any ideas? 

Link to comment

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.