This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Flexbox row height

9 years ago · Last reply by Anna 9 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Alex S Staff 9 years, 8 months ago

    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. Rens Boogerd 9 years, 8 months ago

    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. Anna 9 years, 2 months ago

    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.

Have a different question or issue?

Start New Thread