Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1023905
    nacho
    Participant

    On homepage I have 2 separate sections where there are 2 columns inside a row, and the bottom of both columns aren’t aligning or sticking to the row. I tried adding bottom padding to the offending column, but this only works in one display size (ie. not responsively)

    I’m assuming there are CSS changes that can be made to fix the issue, but all my attempts have failed.

    One row has a Block Grid in the left column, and text in the right column. The left column contains more info and pushes down the row, but the 2nd column doesn’t grow to be the same height and therefore doesn’t touch the row.

    Another row has two columns, both columns contain a Callout. The left callout has slightly more text and when viewing on a narrower device, the bottom of the left column is lower than the right column. This looks messy.

    How can I fix this?

    #1023907
    nacho
    Participant
    This reply has been marked as private.
    #1024158
    Joao
    Moderator

    Hi There

    I couldnt not notice any issue based on your description.

    I have checked your website home page at different device sizes and everything seems aligned.

    Can you provide a screenshot of the issue?

    Thanks

    Joao

    #1025019
    nacho
    Participant
    This reply has been marked as private.
    #1025405
    Rue Nel
    Moderator

    Hello There,

    Thanks for sending us the screenshot. To resolve this issue, you need to enable the marginless columns. And then in each columns you might need to add a padding. I went ahead and edited your page in Cornerstone. Please check it out if this would work out for you.

    Hope this helps. Please let us know how it goes.

    #1025512
    nacho
    Participant

    Thanks, it seems it fixed the first section, although the first and last name text boxes are now much shorter. How do we fix this so they are longer like in original screenshot?

    Regarding second section, I have tried duplicating what you did with marginless columns and adding padding but it doesn’t work for all responsive sizes. What should I do?

    #1026178
    Rad
    Moderator

    Hi there,

    For the form input, please add this CSS to Admin > Appearance > Customizer > Custom > CSS

    
      .home #x-section-8 .x-column {
    display: block !important;
    width: 100% !important;
    }
    

    Marginless will only equalize the initial dimension of the columns, but not the content. The box that you have is from call out element, and it’s a content within a column. Content will not inherit column’s height, content will vary in height depending on how much information is within it. It just happens that the border is applied to the content and not on the column.

    For workaround, please add this code to Admin > Appearance > Customizer > Custom > Javascript

    jQuery ( function($) {
    
    function size_callout() {
    
    var max_height = 0;
    
    $('.marginless-columns .x-callout').each( function() {
    
    var new_height = $(this).parent().find('.x-callout').innerHeight();
    
    max_height =  new_height >= max_height ? new_height : max_height;
    
    console.log( new_height + '-' + max_height);
    
    $(this).parent().parent().find('.x-callout').css({ 'min-height' : max_height });
    
    } );
    
    }
    
    $(document).ready( size_callout );
    $(window).resize( size_callout ).load(size_callout);
    
    } );

    Thanks!

    #1026317
    nacho
    Participant

    thanks team.

    #1026318
    nacho
    Participant
    This reply has been marked as private.
    #1026706
    Christian
    Moderator

    Screenshot removed. 🙂

    #1027155
    nacho
    Participant

    thanks please close ticket

    #1027500
    Christopher
    Moderator

    Glad we could help you with this.

  • <script> jQuery(function($){ $("#no-reply-1023905 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>