# Horizontal Scroll when content overflows parent groups width limits

**URL:** <https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296>\
**Category:** Responsiveness\
**Created:** [April 5, 2024, 2:03pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296 "2024-04-05T14:03:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheskiefisch](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cheskiefisch](https://forum.bubble.io/u/cheskiefisch)\
**Post date:** [April 5, 2024, 2:03pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296/1 "2024-04-05T14:03:03Z")

</div>

How do i get that behavior so if an element has wide content, which goes beyond the limit of its parent groups width limits, and you dont want the element to wrap to next line, rather the ability to scroll its content horizontally?

What layout settings do i use to achieve that?

(Not a RG)

---

<div class="post-metadata">

**Author:** ![onerbarisoner](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@onerbarisoner](https://forum.bubble.io/u/onerbarisoner)\
**Post date:** [April 5, 2024, 2:18pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296/2 "2024-04-05T14:18:29Z")

</div>

It depends on the element, but generally, you can solve it with this CSS:  
flex-wrap: nowrap !important;  
white-space: nowrap !important;

---

<div class="post-metadata">

**Author:** ![ntabs](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@ntabs](https://forum.bubble.io/u/ntabs)\
**Post date:** [April 5, 2024, 2:18pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296/3 "2024-04-05T14:18:36Z")

</div>

Use this simple HTML snippet

Replace the scroll-horizontal with the id of your group element

```auto
<style>
    #scroll-horizontal {
    	overflow: auto!important;
    }        
</style>

```

---

<div class="post-metadata">

**Author:** ![cheskiefisch](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cheskiefisch](https://forum.bubble.io/u/cheskiefisch)\
**Post date:** [April 5, 2024, 2:24pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296/4 "2024-04-05T14:24:23Z")

</div>

Is this not achievable with the new responsive engine?

---

<div class="post-metadata">

**Author:** ![onerbarisoner](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@onerbarisoner](https://forum.bubble.io/u/onerbarisoner)\
**Post date:** [April 5, 2024, 2:29pm UTC](https://forum.bubble.io/t/horizontal-scroll-when-content-overflows-parent-groups-width-limits/316296/5 "2024-04-05T14:29:35Z")

</div>

If I’m not mistaken, you can also do it like this. Put its inner elements into one group and have another group outside. Like, group \> group \> row elements. Make sure “fit height to content” is checked for the inner group but unchecked (or it can be fixed size) for the outer one.
