# Centering repeating group elements

**URL:** <https://forum.bubble.io/t/centering-repeating-group-elements/51683>\
**Category:** Tips\
**Created:** [March 11, 2019, 12:05pm UTC](https://forum.bubble.io/t/centering-repeating-group-elements/51683 "2019-03-11T12:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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:** [April 16, 2021, 6:28pm UTC](https://forum.bubble.io/t/centering-repeating-group-elements/51683/13 "2021-04-16T18:28:21Z")

</div>

Very neat solution!

If I may add my 2 cents, using ID is fine as long as the repeating group isn’t nested in another one because this would generate multiple RG with same ID which is not supposed…

Using [Classify plugin](http://forum.bubble.io/t/classify-a-tiny-plugin-that-brings-css-power-to-bubble/67741), it’s possible to set CSS classes instead. The code would become:

> [@](#):
>
> ```auto
> <style>
> .myrg {
> display: flex;
> flex-wrap: wrap;
> justify-content: center;
> }
> </style>
> 
> ```

---

_[View the full topic](https://forum.bubble.io/t/centering-repeating-group-elements/51683)._
