Set a custom state on the page where your buttons are and call the custom state Category , set its type to Category_main. In the conditional tab of the People button, add a condition: “When the page’s Category_main is People”, then set the background to white and the font color to green. In the button’s workflow, update the state accordingly. Repeat this setup for the Places button.