Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Height Equalizer

4 sites No security coverage
View on drupal.org

This module automatically adjusts the height of selected elements on your site to ensure they are all the same size. It intelligently detects changes to your page layout to keep heights consistent without impacting performance.

Height Equalizer is a modern, performance-focused Drupal module that automatically equalizes the height of selected elements on a page.

Unlike older equal-height solutions that rely on window resize events, this module uses ResizeObserver and MutationObserver to intelligently detect layout changes and dynamically adjust element heights without performance overhead.

It is fully compatible with Drupal 10 and Drupal 11.

Features

  • Accurate height detection
  • support AJAX and dynamic content
  • Debounced calculations for performance optimization
  • No jQuery dependency
  • Works with Views, Paragraphs, Layout Builder, Commerce, and custom templates
  • Configuration UI to define target CSS selectors
  • Exportable configuration (config schema included)
  • Lightweight and production ready

Post-Installation

1. Install and enable the module.
2. Go to Administration → Configuration → User interface → Height Equalizer.
3. Add a CSS selector for the elements that need equal height.
4. Save configuration.
5. Clear caches.

The module will automatically apply height equalization to matching elements across the site.

###Inspiration
The general concept of equal-height elements was inspired by the excellent [Same Height](https://www.drupal.org/project/same_height) module.
However, this module provides a completely different user experience:

  • Central configuration form instead of per-element data attributes
  • Multiple global rules managed from the UI

Supporting this Module

This module is maintained by:
Ebi John Peter

Community contributions are always welcome.

Activity

Total releases
3
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Mar 5, 2026
1.0.1 Stable Mar 5, 2026
1.0.x-dev Dev Mar 4, 2026