Navigation Bar reflect the page user is on

How can I set the color of the nav bar link to reflect the page the user is on. There appears now way to pass information when moving from one page to the next that then can be used to trigger off of to change the font color for a link in the navigation bar.

Hi there - are you looking to change the color of the link, specifically different for each page the user is on? If so it sounds like the easiest way to accomplish this is setting a list of conditions on the link, where 'Current page name is (or "contains", depending on how specific your page names are) page name - Font Color: choose color

After several hours, I figured it out. On the reusable element for the link you can Define a condition of “This URL is…” That worked.

I’m assuming your suggestion may also work, so thank you.

1 Like