Tagged: x
-
AuthorPosts
-
June 3, 2016 at 4:48 am #1023905
nachoParticipantOn 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?
June 3, 2016 at 4:54 am #1023907
nachoParticipantThis reply has been marked as private.June 3, 2016 at 8:25 am #1024158
JoaoModeratorHi 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
June 3, 2016 at 7:59 pm #1025019
nachoParticipantThis reply has been marked as private.June 4, 2016 at 3:21 am #1025405
Rue NelModeratorHello 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.
June 4, 2016 at 5:36 am #1025512
nachoParticipantThanks, 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?
June 4, 2016 at 9:22 pm #1026178
RadModeratorHi 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!
June 5, 2016 at 1:48 am #1026317
nachoParticipantthanks team.
June 5, 2016 at 1:49 am #1026318
nachoParticipantThis reply has been marked as private.June 5, 2016 at 10:53 am #1026706
ChristianModeratorScreenshot removed. 🙂
June 5, 2016 at 7:47 pm #1027155
nachoParticipantthanks please close ticket
June 6, 2016 at 2:17 am #1027500
ChristopherModeratorGlad we could help you with this.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1023905 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
