Yes, it is possible to highlight the link to the current page in the Navbar/Menu in Webflow. This can be very useful to provide visual feedback to users and improve their navigation experience.
To achieve this, you can use Webflow's built-in dynamic classes feature and a little bit of custom code. Here are the steps to follow:
1. First, make sure you have set up your Navbar/Menu and added the links to your pages.
2. Next, select the link element that represents the current page in the Navbar/Menu.
3. In the element's Settings panel, click on the plus icon next to the Class field to add a new class. Give it a meaningful name, like "current" or "active".
4. With the new class selected, go to the Selector field and click on the dynamic button (looks like a little lightning bolt). From the list of dynamic options, choose "Current page". This will dynamically apply the class to the link element when the page being viewed matches the link's destination.
5. Now, you can style the "current" or "active" class as you desire. For example, you can change the font color, add a background color, or apply any other visual effect to distinguish the current page link.
6. If you want to go a step further and add more interactivity, you can use some custom code. Add an Embed element to your project (either within the Navbar or before the closing
tag).
7. Inside the Embed element, you can use JavaScript to add additional behavior to the current page link. For example, you can add a smooth scroll effect when clicking on it, or highlight it in a different way when hovering over it. You can find code examples for these behaviors in Webflow's forums or by searching online.
Remember to publish your site to see the changes take effect.
By following these steps, you'll be able to highlight the link to the current page in the Navbar/Menu in Webflow, providing a better user experience for your visitors.