Skip to content
All Answers
Navigation

How do I add an active page indicator to the navigation in Squarespace?

Squarespace 7.1 adds a .header-nav-item--active class to the current page's nav link. Use this to apply an underline, color shift, or any visual indicator that shows users where they are.

An underline offset with a pseudo-element gives a cleaner look than a text-decoration underline. You can control thickness, color, and distance from the text independently.

.header-nav-item--active a {
  color: #e63946 !important;
  position: relative;
}

.header-nav-item--active a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e63946;
}
Generate active indicators with our Nav Hover Effects toolTry it free →

Related Questions

Navigation

How do I change the dropdown menu background color in Squarespace?

Navigation

How do I style the mobile hamburger menu icon in Squarespace?

Navigation

How do I change the navigation font size in Squarespace?

Navigation

How do I hide a specific navigation link in Squarespace?

A little over your head?

No shame — this stuff is hard. Let the pros handle it.

Long Drive MarketingTalk to Long Drive Marketing →