I am trying to get my pictures to align correctly underneath my paragraphs but I can’t seem to get it right. I figured if I can get the paragraphs above the images to have the same bottom padding or margin it’ll make the images align correctly for all 3 columns.
I tried using this column align css and js example in this xtheme post -https://theme.co/apex/forums/topic/make-columns-same-height-in-cornerstone/
- but when I change out the .x-column for for paragraph’s assigned class “Column_Paragraph_2” it doesn’t seem to work.
Example Edited version -
jQuery(document).ready(function($) {
var max = 0;
$("#x-section-3 .Column_Paragraph_2").each(function(index, el) {
if( $(this).height() > max ){
max = $(this).height();
}
});
$("#x-section-3 .Column_Paragraph_2").css('height', max);
});