Gantry 5 module height

Everything to do with Joomla! 3.x templates and templating.
Post Reply
pambesteder
Joomla! Guru
Joomla! Guru
Posts: 547
Joined: Sat Sep 18, 2010 9:25 pm

Gantry 5 module height

Post by pambesteder » Fri Aug 14, 2020 2:35 am

I have a module position in Gantry 5 for Content Top A, B, C.

I have a Module Class Suffix box created to put a margin around A, B, and C.

When content in A is less than content in B and/or C, the box is shorter in A!!!

How can I tell Joomla or Gantry to make the boxes the same size based upon the content in the module that has the most data?

I've searched and searched and cannot find an answer.

Thanks
Pam

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27457
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Gantry 5 module height

Post by Per Yngve Berg » Fri Aug 14, 2020 3:39 am

Use flexbox

https://www.w3schools.com/css/css3_flexbox.asp

Don't know if it's implemented in Gantry.

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2612
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: Gantry 5 module height

Post by AlexVega » Fri Aug 14, 2020 3:58 am

Hi there,

Same recommendation, do this via CSS, check this two articles:
https://css-tricks.com/fluid-width-equa ... t-columns/
https://www.w3schools.com/howto/howto_c ... height.asp


Post Reply

Return to “Templates for Joomla! 3.x”