Jump to content

Active nav menu item has line through it.

Recommended Posts

Add this to Design > Custom CSS

body:not(.header--menu-open) .header-nav-item--active>a {
    background-image: none !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

Tuanphan is correct, that will hide the line-through. It's actually an underline with the line height set to 0px, if you want an underline as it's designed, then you'll want to set the font styling of the navigation items to have a line height of at least 1em. Having it set to zero is also causing this problem on your website, where the navigation items overlap:

image.thumb.png.8c3b45fa0638c2df8397a5aa2deec9a9.png

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

@Ziggy this is what I ended up using, for now anyway lol. Thank you for your help!

//Active Nav title text bold//
body:not(.header--menu-open) .header-nav-item--active>a {
  font-weight: bolder;
  font-size: 1.2em;
 background-image: none !important;
}

//Nav width to not overlap//
.header-layout-nav-center .header-nav{
      width: 50%;
    text-align: center;
    flex: 1 1 50%;

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.