Gradient Pill Active Navigation Style

Look Demo

Give an active navigation link a gradient pill style. This plugin uses css editor and works with Squarespace 7.1.

Screen+Shot+2019-10-16+at+11.48.27+AM.jpg

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 Active Nav //

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

Customize

Adjust the background color, color, and border radius to your liking.

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

Gradient Pill Navigation On Hover

Next
Next

Pill Active Navigation Style