Last active
December 7, 2019 23:56
-
-
Save gera3d/0a1c242678bed029f68511cde5dffa15 to your computer and use it in GitHub Desktop.
Match Height
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function() { | |
// apply your matchHeight on DOM ready | |
// apply matchHeight to each item container's items | |
jQuery('.product_item_inner').each(function() { | |
jQuery(this).children('.product_item_excerpt').matchHeight({ | |
byRow: true | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated targeting:
// test target jQuery('.product_item').each(function() { jQuery(this).children('.product_item_inner').matchHeight({ target: jQuery(this).find('.product_item_excerpt') }); });