I am trying to use display: flex; for the rows in page builder to give every row the same height but it does not work. Does page builder not support display: flex;? I tried every class and ID but nothing changes. It’s ectually pretty annoying that Page Builder still has no height options. I really hope it will get some sort of an option.
Flexbox row height
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Rens,
We agree and it’s definitely something we’re looking to change in the future.
You should be able to do what you’re after by either applying it to the row (being .panel-grid) or the parent container (typically #pl-ID, something like .entry-content > div work as desired but obviously it’s not ideal).
It did not work but the following Jquery code does work:
jQuery(document).ready(function(){
// Select and loop the container element of the elements you want to equalise
jQuery(‘.panel-grid’).each(function(){
// Cache the highest
var highestBox = 0;
// Select and loop the elements you want to equalise
jQuery(‘.panel-widget-style’, this).each(function(){
// If this box is higher than the cached highest then store it
if($(this).height() > highestBox) {
highestBox = $(this).height();
}
});
// Set the height of all those children to whichever was highest
jQuery(‘.panel-widget-style’,this).height(highestBox);
});
});
this might be useful to other users in the future :)
Any word on flex support?