# defaultSelectedStyle not working on Multi State background-color

**URL:** <https://forum.inductiveautomation.com/t/defaultselectedstyle-not-working-on-multi-state-background-color/37403>\
**Category:** Ignition\
**Created:** [August 5, 2020, 2:39pm UTC](https://forum.inductiveautomation.com/t/defaultselectedstyle-not-working-on-multi-state-background-color/37403 "2020-08-05T14:39:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdixon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pdixon/32/6899_2.png) [@pdixon](https://forum.inductiveautomation.com/u/pdixon)\
**Post date:** [August 5, 2020, 2:39pm UTC](https://forum.inductiveautomation.com/t/defaultselectedstyle-not-working-on-multi-state-background-color/37403/1 "2020-08-05T14:39:40Z")

</div>

It appears that the background-color cannot be set in a style class for the Multi State Button in the selected state. I created the style class Selected shown, which sets the background-color to green. I assign this style class in defaultSelectedStyle. Notice that the style class for Unselected works and it works in the Selected style class for the text color. However, the background-color of the selected button is dark blue instead of green as in the style class.

 ![ig_multistatestyle_selected](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f76ecda8259d8aa26e31bf9fb7880fc88e06adbc.jpeg)
