Jump to content

Adding underline hover effects to navigation bar, and dropdown menu

Recommended Posts

  • Replies 3
  • Views 2.7k
  • Created
  • Last Reply

Add the following to Design > Custom CSS.

.header .header-nav-wrapper a {

  padding-bottom : 1em;
  
  }

.header-nav-item a:hover {

  border-bottom-width : 5px !important;
  
  }

This is for v7.1.

You can of course change the number values to suit your needs.

Let us know how it goes.

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.

Link to comment
On 4/4/2021 at 8:57 PM, creedon said:

Add the following to Design > Custom CSS.


.header .header-nav-wrapper a {

  padding-bottom : 1em;
  
  }

.header-nav-item a:hover {

  border-bottom-width : 5px !important;
  
  }

This is for v7.1.

You can of course change the number values to suit your needs.

Let us know how it goes.

Awesome thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.