Hey! I’m having a small problem that I’m sure has a simple solution.
I’m trying to change a button’s color when the website is in its home page. I usually use page parameters on other pages but since the home page doesn’t initially have parameters I can’t seem to be able to point out in the conditions that the current page is home page therefore the button should be X color.
Add a conditional like this but change the index to your home page name
This is available in a reusable element but I’m assuming that’s where your button is
Create a custom state and start a workflow on page load set the value of the custom state (static value). Afterward, open the condition of the button and set the condition that when the custom state value is XYZ the background of the button will change to this color.