Jump to content

Active nav menu item has line through it.

Recommended Posts

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 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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
  • 1 year later...

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.