# Conditional Page Height

**URL:** <https://forum.bubble.io/t/conditional-page-height/167427>\
**Category:** Responsiveness\
**Created:** [September 1, 2021, 7:15pm UTC](https://forum.bubble.io/t/conditional-page-height/167427 "2021-09-01T19:15:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe0](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Joe0](https://forum.bubble.io/u/Joe0)\
**Post date:** [September 1, 2021, 7:15pm UTC](https://forum.bubble.io/t/conditional-page-height/167427/1 "2021-09-01T19:15:34Z")

</div>

I’m building a one page app on Bubble with different groups, these groups have varying heights. Thus, some groups on the page are smaller in height. Is there a way to set conditional heights of the page itself depending on the group height?

---

<div class="post-metadata">

**Author:** ![julienallard1](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@julienallard1](https://forum.bubble.io/u/julienallard1)\
**Post date:** [September 19, 2021, 12:18am UTC](https://forum.bubble.io/t/conditional-page-height/167427/3 "2021-09-19T00:18:45Z")

</div>

You could use the [Spacer plugin](http://forum.bubble.io/t/html-element-height-not-readjusting/150880) to resize the page dynamically.
