Gantry 5 module height

Everything to do with Joomla! 3.x templates and templating.

Moderators: General Support Moderators, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
pambesteder
Joomla! Guru
Joomla! Guru
Posts: 551
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: 27568
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: 2663
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”