Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › flex-box justify center › Reply To: flex-box justify center
February 2, 2017 at 7:14 am
#11798
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:
.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;
}
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.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)