# My padding isn't working

**URL:** <https://forum.bubble.io/t/my-padding-isnt-working/271899>\
**Category:** Need help\
**Created:** [July 10, 2023, 8:28pm UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899 "2023-07-10T20:28:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SheenaTarrant](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sheenatarrant/32/156508_2.png) [@SheenaTarrant](https://forum.bubble.io/u/SheenaTarrant)\
**Post date:** [July 10, 2023, 8:28pm UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/1 "2023-07-10T20:28:45Z")

</div>

Hello 🙂

I am trying to achieve this type of padding around my buttons like I have done in the below picture in a different element →   
 ![Screenshot 2023-07-10 at 22.21.31](https://us1.discourse-cdn.com/bubble/original/3X/e/9/e95f7b82c3ebb74ac61a8562e59fe2974b193e0d.png)

But this time it doesn’t seem to be responding to anything:  
 ![Screenshot 2023-07-10 at 22.19.37](https://us1.discourse-cdn.com/bubble/original/3X/1/c/1cad9746c5780eab2d56c9d3f46fcb3cef18c774.png)

I have no fixed width or height on my buttons… so theoretically they should shrink to comply with the padding but they don’t… it only works if I allow the blue coloured group to have no Max height, but I want this group to be very big.  
 ![Screenshot 2023-07-10 at 22.18.29](https://us1.discourse-cdn.com/bubble/original/3X/0/c/0c1137221af670ef7a286f0c2fd2079a259d127f.png)

![Screenshot 2023-07-10 at 22.18.12](https://us1.discourse-cdn.com/bubble/original/3X/0/9/09f25abb0adec80bf2c439292853cd9c27d91646.png)

Any help appreciated!!

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [July 10, 2023, 8:37pm UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/2 "2023-07-10T20:37:12Z")

</div>

If you’re talking about the buttons not shrinking, it’s cause those have their own padding inside (note the shaded area inside the button). That would be changed in the style settings for that button

If you’re talking about the blue group not getting taller, looks like it’s fixed height

---

<div class="post-metadata">

**Author:** ![luke2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luke2/32/256674_2.png) [@luke2](https://forum.bubble.io/u/luke2)\
**Post date:** [July 10, 2023, 9:08pm UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/3 "2023-07-10T21:08:00Z")

</div>

Hey @SheenaTarrant  
Maybe check the ‘Line Spacing’ value isn’t too high (around 1 to 2 should suffice), also probably not the case, but just double check it hasn’t get any conflicting element ID assigned that is pulling in some custom CSS.

Also, is there possibly a condition that is setting some other values e.g. height or padding. Not sure what you’ve got on the element settings itself for padding or margins and also the containing group (assuming it a row setup). Cheers

---

<div class="post-metadata">

**Author:** ![SheenaTarrant](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sheenatarrant/32/156508_2.png) [@SheenaTarrant](https://forum.bubble.io/u/SheenaTarrant)\
**Post date:** [July 11, 2023, 11:08am UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/4 "2023-07-11T11:08:08Z")

</div>

thank you 😀

---

<div class="post-metadata">

**Author:** ![SheenaTarrant](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sheenatarrant/32/156508_2.png) [@SheenaTarrant](https://forum.bubble.io/u/SheenaTarrant)\
**Post date:** [July 11, 2023, 11:08am UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/5 "2023-07-11T11:08:36Z")

</div>

thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 18, 2023, 8:28pm UTC](https://forum.bubble.io/t/my-padding-isnt-working/271899/6 "2023-09-18T20:28:52Z")

</div>

Closed on September 18, 2023, 8:28pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
