# Conditionally change an SVG

**URL:** <https://the.fmsoup.org/t/conditionally-change-an-svg/2040>\
**Category:** Questions\
**Tags:** button-display, svg, button\
**Created:** [April 18, 2021, 9:33pm UTC](https://the.fmsoup.org/t/conditionally-change-an-svg/2040 "2021-04-18T21:33:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mipiano](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/mipiano/32/1074_2.png) [@mipiano](https://the.fmsoup.org/u/mipiano)\
**Post date:** [April 18, 2021, 10:45pm UTC](https://the.fmsoup.org/t/conditionally-change-an-svg/2040/4 "2021-04-18T22:45:05Z")

</div>

@JasonMark :  
@Malcolm is right, if the svg has the fmfill class inserted. Look at this thread: [SVG image format for button icons](https://the.fmsoup.org/t/svg-image-format-for-button-icons/1698)

---

_[View the full topic](https://the.fmsoup.org/t/conditionally-change-an-svg/2040)._
