Skip to content

Instantly share code, notes, and snippets.

Created Jan 23, 2014
What would you like to do?
Making Content and Sidebar to have equal height in Genesis
jQuery(document).ready(function($) {
$( window ).load(function() {
if (window.innerWidth > 1023) {
var highestCol = Math.max( $('.content-sidebar .content-sidebar-wrap .content').height(), $('.content-sidebar .sidebar-primary').height() );
$('.content-sidebar .content-sidebar-wrap .content, .content-sidebar .sidebar-primary').height(highestCol);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment