Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Equal Height Blocks for more than one DIV? Re: Equal Height Blocks for more than one DIV?

#104044
Mottie
Member

Oh yeah sorry, you are right! Equalizer needs to target the wrapper. And since there are two wrappers, you’ll need to initialize it like this:

$('#content_top, #content_bottom').equalizer();

And by the way, the “test” class isn’t needed for that plugin, unless you use the “column” option, just in case there are other elements inside of the content block that doesn’t need equalized:

$('#content_top, #content_bottom').equalizer({
columns : '.test'
});