This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: flex-box justify center

#11798
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

I would not recommend using that CSS, it sets a flex layout on all descendants of the main container, and it indeed will break the layout.

Instead, try something like this one:

[html].rpp_wrapper {
display: flex !important;
justify-content: center !important;
flex-wrap: wrap;
max-height: 1400px !important;
}

.rpp_wrapper .rpp_item {
position: static !important;
max-height: 200px !important;
}[/html]

I cannot guarantee it will work, as the there are calculations done via javascript, when chancing the screen layout, but it’s worth a try.