Jump to content

Removing underline from navigation on 7.1

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Hello! I designed this site in 7.1 and would simply like to remove the underline on the active navigation link. This is currently not an option in the Design section of 7.1, so I will need some CSS. Any ideas?

https://www.pamelaackerman.com/

Thank you!

Edited by kieranra
Initial Revision
  • 5 months later...
  • 2 weeks later...
Posted

 

On 2/29/2020 at 4:52 PM, tuanphan said:

Can you share link to your site or Nolan template url?

This is the link: http://grouper-marlin-lxls.squarespace.com
Password: studiokruh

Posted
22 hours ago, Mlekoman said:

 

This is the link: http://grouper-marlin-lxls.squarespace.com
Password: studiokruh

Add to Home > Design > Custom CSS

.header-nav-wrapper 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 2 months later...
Posted
13 hours ago, Horwood said:

Hi I have the same question using 7.1. on the site

https://www.christopherhorwood.com/

I tried the code below but no luck any ideas?

Thanks

 


.header-nav-item--active a {
   background-image: none;
}

use this

.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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 month later...
  • 6 months later...
Posted (edited)

@danny1

Add the following to Design > Custom CSS.

.tweak-global-animations-animation-type-flex .header-nav-item:not( .header-nav-item--folder ) a::after {

  all : unset;
  
  }

This is for v7.1.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
13 hours ago, creedon said:

@danny1

Add the following to Design > Custom CSS.


.tweak-global-animations-animation-type-flex .header-nav-item:not( .header-nav-item--folder ) a::after {

  all : unset;
  
  }

Let us know how it goes.

This worked! Appreciate it!

  • 6 months later...
Posted
11 hours ago, sheasdesign said:

Hi @tuanphan !

I'm trying to add an image as the active underline for the nav on this restaurant site. I'm not able to get the image at full width. Are you able to help? 

https://sawfish-tulip-pxkb.squarespace.com/config/settings

password: detention

Hi,

Where image?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 7 months later...
Posted

Hiya! I would love to remove the underline in the header but have no clue how? help please. I have tried everything including the code used above but unfortunately, it has not worked. 

My website is : martini-i18-nov.squarespace.com

Thank you in advance x

Posted
On 3/23/2022 at 4:56 AM, Jamilah said:

Hiya! I would love to remove the underline in the header but have no clue how? help please. I have tried everything including the code used above but unfortunately, it has not worked. 

My website is : martini-i18-nov.squarespace.com

Thank you in advance x

Your site is private. Can you setup password & share url again? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
13 minutes ago, tuanphan said:

Your site is private. Can you setup password & share url again? We can check easier

Sorry, the password is:  hello
martini-i18-nov.squarespace.com

Posted
On 3/24/2022 at 2:55 PM, Jamilah said:

Sorry, the password is:  hello
martini-i18-nov.squarespace.com

You mean email underline? Add to Design > Custom CSS

/* remove header email underline */
.sqmuse-burger-menu .sm-burger-menu-email a {
    text-decoration: none !important;
    border: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 2 months later...
Posted
On 2/2/2021 at 9:36 PM, creedon said:

@danny1

Add the following to Design > Custom CSS.

.tweak-global-animations-animation-type-flex .header-nav-item:not( .header-nav-item--folder ) a::after {

  all : unset;
  
  }

Let us know how it goes.

Thought this one was it, but no luck 😂 I've been having the same problem, tried this solution and every other one I could find, but none seem to do the trick. Help please 🙏🏽

Site: https://www.thesproutcollective.com

Posted
1 hour ago, PatrickJ said:

Thought this one was it, but no luck 😂 I've been having the same problem, tried this solution and every other one I could find, but none seem to do the trick. Help please 🙏🏽

Site: https://www.thesproutcollective.com

Use this

header#header a:not(.btn), header#header a:not(.btn) span {
	background-image: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.