# BUTTON - Foundry + Modal

**URL:** <https://forums.realmacsoftware.com/t/button-foundry-modal/43700>\
**Category:** RapidWeaver Classic\
**Created:** [July 11, 2024, 5:13am UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700 "2024-07-11T05:13:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sree](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Sree](https://forums.realmacsoftware.com/u/Sree)\
**Post date:** [July 11, 2024, 5:13am UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700/1 "2024-07-11T05:13:13Z")

</div>

**BUTTON**  
The icons in the button stack appear off-centre when standard and large settings are used. They seem centred when a small size is selected.

**MODAL**  
It would be nice if there was an option not to have the close button in Modal, as there are other ways to close it.

---

<div class="post-metadata">

**Author:** ![Heroic\_Nonsense](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/heroic_nonsense/32/20666_2.png) [@Heroic\_Nonsense](https://forums.realmacsoftware.com/u/Heroic_Nonsense)\
**Post date:** [July 11, 2024, 9:20am UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700/2 "2024-07-11T09:20:25Z")

</div>

Hi @Sree,

You could ask this on the [Elixir support forums](https://elixir.support) - Elixir is the publisher of Foundry. They currently accept feature requests for the next version of Foundry on GitHub (**[link](https://github.com/elixirgraphics/foundry-feature-requests)**).

For now, you can hide the close button using some CSS.

```auto
.btn-close {
display: none;
}

```

Add that CSS here:

 ![Capto_Capture 2024-07-11_11-19-50_](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/e/6/e603ef2e5a665246f006ded0aeba116256aafd16.png)

Cheers,  
Erwin

---

<div class="post-metadata">

**Author:** ![Sree](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Sree](https://forums.realmacsoftware.com/u/Sree)\
**Post date:** [July 11, 2024, 9:59am UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700/3 "2024-07-11T09:59:07Z")

</div>

Hi Erwin,  
I will try that, but I have close button on other stacks as well. So the code may affect that as well.  
Regards

---

<div class="post-metadata">

**Author:** ![Heroic\_Nonsense](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/heroic_nonsense/32/20666_2.png) [@Heroic\_Nonsense](https://forums.realmacsoftware.com/u/Heroic_Nonsense)\
**Post date:** [July 11, 2024, 1:45pm UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700/4 "2024-07-11T13:45:43Z")

</div>

Hi @Sree,

This code only affects buttons that have the .btn-close class.

Cheers,  
Erwin

---

<div class="post-metadata">

**Author:** ![Sree](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Sree](https://forums.realmacsoftware.com/u/Sree)\
**Post date:** [July 11, 2024, 5:41pm UTC](https://forums.realmacsoftware.com/t/button-foundry-modal/43700/5 "2024-07-11T17:41:50Z")

</div>

Hi  
I applied the code to the button, and it worked.  
Thanks.
