is there a way to set state yes/no based on the page a user goes to.
I am trying to create navigation menu buttons so when a customer goes to say “page X” state is set to yes and then background colour of that particular button will go a certain colour or the font will be bold to indicate what page the user is on.
Im trying to get the effect of background of the navigation/menu button only being a certain colour when that page is selected.
Ive tried a few different way so far and background colour is changing but then when the page loads it refreshes the button so it goes back to the original colour