How do I change the colour of the selected tab?

I am using states to view different groups using a button in a tab window setup. So I have 5 tabs with 5 groups below that display and hide depending on which tab is selected. If I hover over a tab, the colour changes easy enough but I want the active or selected tab to change colour so it looks like it is part of the panel that it is linked to. How would I do this?

Hi @frankstillone,

You could have a simple condition on your button that states something “When Group A is Visible then background color = xyz.”

Thanks @lantzgould,

worked perfectly - thank you!

1 Like