# Switch container button background image when selected?

**URL:** <https://community.feathery.io/t/switch-container-button-background-image-when-selected/437>\
**Category:** Support\
**Created:** [January 29, 2024, 5:03pm UTC](https://community.feathery.io/t/switch-container-button-background-image-when-selected/437 "2024-01-29T17:03:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TritonJK](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TritonJK](https://community.feathery.io/u/TritonJK)\
**Post date:** [January 29, 2024, 5:03pm UTC](https://community.feathery.io/t/switch-container-button-background-image-when-selected/437/1 "2024-01-29T17:03:48Z")

</div>

I am using containers with an image as the background in order to have custom buttons that match out UI

I want the buttons to be switched out to a button with a purple glow when the button is selected. (we have the image for the button with the purple glow)

Is there an easy way to achieve this effect?

 ![49a037a27d3747848d4634e9a597e688](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/baad2bff857b0254771e20814297bcf5229ed17c.jpeg)

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [January 29, 2024, 10:33pm UTC](https://community.feathery.io/t/switch-container-button-background-image-when-selected/437/2 "2024-01-29T22:33:41Z")

</div>

Yes, you can conditionally show the purple glow button and hide the unselected button on click [Show Elements Conditionally - Feathery Docs](https://docs.feathery.io/platform/build-forms/logic/show-elements-conditionally)

This can be done by adding a “save custom value” action to the buton to set the value of a hidden field and using it to show/hide the butons
