Reply To: flex-box justify center

#11798

Ernest 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:

.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 :)