Make two columns the same height
JavaScript
This function will get the height of the img and resize the right column accordingly.
jQuery(document).ready(function( $ ){
$(window).on('ready load resize', function(){
var img = $('.complete-install-img').height();
$('#complete-install-right').css('height', img+'px');
});
});
This will only execute when columns are not stacked.
jQuery(document).ready(function( $ ){
$(window).on('ready load resize', function(){
if(($(window).width() > 763) || ($(window).resize() > 763)){
var img = $('.complete-install-img').height();
//console.log(img);
$('#complete-install-right').css('height', img+'px');
// all other pages
var img2 = $('.two-column-img .x-img').height();
$('.two-column-text').css('height', img2+'px');
}
});
});