Days
Hours
Minutes
Seconds
Happy Ramadan! Enjoy limited time 30% discount. Coupon: RAMADAN24(Valid for annual subscription)
qxio-ios-color-wand-outline Grab The Deal

Disable Module Height Calculation

Expose has a built-in module height calculation feature. It calculate maximum height of module on given position and assign the height to all modules on that position. This is a very useful feature styling, however some of your project might need to turned it off completely or for specific position.

Before doing any modification copy the file equalheight.php form libraries/expose/widgets to your templates/widgets folder.

Turned off completely

Open equalheight.php file and add this code to line#19

protected $enabled = 0;

For specific position

Example, you want to disable height calculation of Top module position.
Find this line:

$js .= "jQuery('#top .column').equalHeight('.block');";

Comment this line by just adding // prefix and it will look like:

// $js .= "jQuery('#top .column').equalHeight('.block');";

Following this method you can turn off height calculation as many position you want.

Joomla SEO Service

Grow rapidly with our Joomla SEO service done by the veterans

With over 12 years of business and a vast array of Joomla templates and extensions, we know Joomla SEO better than anyone you could possiblly hire.

Improve my ranking
On This Page