Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
I tried to enable equal heights on the columns and it would not work. As I did some debugging work, I noticed that <div id="columns">
contains a div inside with the class "columns-inner" which holds the various columns. I modified the jquery code to equalize the heights on that and it works. So the diff (from my subversion repo - still the same line numbers) looks like:
Index: genesis/genesis/js/jquery.equalizeheights.js
===================================================================
--- genesis/genesis/js/jquery.equalizeheights.js (Current Version in production)
+++ genesis/genesis/js/jquery.equalizeheights.js (Working Version)
@@ -90,6 +90,6 @@
if (Drupal.jsEnabled) {
$(document).ready(function() {
- $('#columns').equalHeights();
+ $('#columns .columns-inner').equalHeights();
});
}
\ No newline at end of file
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedcool
Comment #2
Screenack CreditAttribution: Screenack commentedThis fixed what ailed my site; although I added the class redefinition to the minified file -- Thanks!