.w--current
class to nav links matching the current page URL for styling active states..your-link-class.w--current
in custom CSS or apply styles in the Designer when the “Current” label is visible.When a Navigation Link is in its selected (current) state, Webflow automatically assigns it the .w--current
class. This class allows you to style the active page link differently from the others.
.w--current
to that nav link.To style this selected nav link in custom CSS (if needed), use the class selector:.your-link-class.w--current
Replace your-link-class
with the actual class you used on the nav link.
Example styles you might apply (via Embed in Webflow or external CSS):
Change color: .nav-link.w--current { color: #ff0000; }
Add underline: .nav-link.w--current { text-decoration: underline; }
Bold: .nav-link.w--current { font-weight: bold; }
Webflow uses the .w--current
class to indicate a navigation link that corresponds to the current page. You can style it using CSS as .your-link-class.w--current
, or apply unique styles directly in the Designer when the “Current” state is active.