Simple Match Height Using One Class

// Read Description before using! jQuery(document).ready(function($){ // Match Height jQuery('body').imagesLoaded(function() { matchHeight(); }); function matchHeight() { jQuery('.match').matchHeight(); } });
This snippet of code requires BRM IO's matchHeight js plugin.
https://github.com/liabru/jquery-match-height

&

Desandro's imagesLoaded js
http://imagesloaded.desandro.com/

The plugin uses a single class to match height of content and images with this class.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.