To change the visited link color in the navbar using Webflow, you need to modify the link’s :visited
state in the Style panel.
1. Select the Link Element in the Navbar
- Navigate to your navbar in the Designer.
- Click to select the link element you want to style (e.g., a Nav Link).
- Make sure you’re selecting the Link Block or Text Link, not a container.
2. Change to the Visited State
- With the link selected, go to the Selector field at the top of the Style panel.
- Click the dropdown next to the class name (e.g.,
.nav-link
). - Select "Visited" from the state list.
3. Set the Visited Link Color
- In the Style panel, scroll to the Typography section.
- Click the color swatch next to Text Color.
- Choose the color you want for visited links.
- This style will now apply only to links using that class that have been visited.
4. Preview to Test
- Publish your site.
- Visit some links to make them "visited".
- Reload the site (or open in a new browser window) to confirm the visited color appears.
5. Important Notes
- Some browsers limit styling of visited links for privacy reasons. Colors typically work, but other properties (like font size or position) may be ignored.
- For better targeting, ensure each link has a unique class or combo class if you want different visited colors per section.
- If links don’t appear in the visited state, make sure the href points to a real, valid URL.
Summary
To change visited link color in your navbar, select the link, switch to the :visited state in the Style panel, and set a new text color. Publish and visit links to see the styling in action.