• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to make my footer widgets expand to an equal height?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to make my footer widgets expand to an equal height?

This topic is: not resolved

Tagged: flexbox, footer widgets

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 4 months ago by wasanajones.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 19, 2015 at 9:59 am #148416
    matt101
    Member

    Hi,

    I have 3 footer widgets on my site. One of the footer widgets contains an image. The site admin may decide to replace the current image and replace it with something bigger/ smaller. I would like these 3 footer widgets to expand to the same height.

    I have tried using display:flex with align-items: stretch` but am struggling to make this work.

    I have created a jsfiddle with an example https://jsfiddle.net/d4q05to6/4/

    Basically I would like the two yellow boxes (you might need to make the results area bigger), to be the same size and re-ajust automatically, if the image has been changed. I would really appreciate some help!

    April 19, 2015 at 10:39 am #148421
    matt101
    Member

    Here is a simplified version of the JS fiddle, with all the unnecessary code taken out https://jsfiddle.net/d4q05to6/5/ . Please can someone help me? I want to make both the footer widgets the same height, if the site user decides to change the image for a smaller/bigger one, the footer widgets need to re-size their height automatically.

    April 19, 2015 at 4:03 pm #148464
    Craig
    Member

    Hi Matt, this is something which I would usually use jQuery to achieve. I have a custom plugin very similar to Tim Svenson's Equalize (found here: http://tsvensen.github.io/equalize.js/) which I would be set to loop through selected divs (ie .footer-widgets > div) and then give them all a specific height which is equal to the tallest div.


    @craigsimps | craigsimps.com

    April 20, 2015 at 5:28 am #148509
    matt101
    Member

    Hi Craig,

    Thank-you for the response. I tried using Tim Svenson's equalize but couldn't seem to make it work with my code.

    I found this http://wpsmith.net/2012/genesis/resize-genesis-footer-widgets-to-equal-sizes/ which seems to be quite close, as I am using the genesis theme on wordpress. I created a new JS fiddle but just can't seem to make it work https://jsfiddle.net/d4q05to6/8/

    Thank-you for the support, it is very much appreciated.

    April 20, 2015 at 5:32 am #148512
    matt101
    Member

    Hi Craig,

    Thank-you for the support. I tried using Tim Svenson's equalize but just couldn't seem to make it work. I found this which seems relevant as it is based on genesis http://wpsmith.net/2012/genesis/resize-genesis-footer-widgets-to-equal-sizes/ . I created a new JS fiddle but just can't seem to make it work https://jsfiddle.net/d4q05to6/8/

    Thank-you for the support, it is very much appreciated.

    November 6, 2016 at 1:11 pm #195794
    wasanajones
    Member

    for anyone looking for a solution, this works great https://wordpress.org/plugins/matchheight/

    doesn't add bloat, works quick and easily

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble