Home>Support>Flexbox row height

Flexbox row height

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

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

  2. 8 years, 4 months ago Rens Boogerd

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

  3. 7 years, 9 months ago Anna

    Any word on flex support?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More