Gradient Pill Navigation On Hover

Look Demo

Add a gradient pill style to any navigation link when hovered. This plugin uses css editor and works with Squarespace 7.1.

ezgif-2-191b49eacc34.gif

How To Install

From your Squarespace account, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.

// Gradient Pill Nav On Hover //

.header-nav-item a {
  background-image: none !important;
  padding: 0px 10px !important;
}

.header-nav-item a:hover {
  background-image: none !important;
  background: linear-gradient(to left, #F07C63, #E45372) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  background-color: #000000 !important;
  padding: 0px 10px !important;
}

Customize

Adjust the background color, color, and border radius to your liking under .header-nav-item a:hover.

We recommend keeping the padding where it is and the background color a darker color. This background color is a backup in case the visitors browser doesn’t load the gradient colors.

License

This plugin comes with an Unlimited Use License. View License Terms

Previous
Previous

Solid Pill Navigation On Hover

Next
Next

Gradient Pill Active Navigation Style