get div height from another (higher) div
-
hello,
i want to achieve that a row of three stacks all have the same height although they dont have the same amount of content. here’s a screenshot showing the problem:

WebsiteI want the blue stack on the left to define the height of the other two.
the stacks have ids (eg "card_blue") which i used to give them individual background-colors. i found a js code which i tried out here
when i adapt it to laytheme it works fine but it disables lightbox, carousel as well as the "chalk board" above.
I didnt use "$" and i updated my addons and laytheme ...heres the code i used

really would appreciate help a lot. maybe there’s a much easier way to achieve what i want? Or how can prevent the code to mess with the other elements?
many thanks in advance, c
-
Dear Chris
@chris404
I understand what you mean and thank you for the post - Just to clarify how you would like the middle and right stacks to fill the space.
The Image and font would expand to fill the space?
Just wish to understand correctly so i can help more efficiently 🌝
Talk soon Chris, Sincerely
Richard -
-
-
hello,
sorry -the url has changed to https://tennessee-mountain.de/
in desktop view they should look like in my screenshots above.
every "card" is a stack containing the headline, an image and sometimes a text underneath the image.
here is the code i tried out.

it worked but it disabled the laytheme carousel plugin and the pdf viewer plugin i am using.
thank you, best c
-
Dear @chris404
Unfortunately i cannot help you further with personal customization.
Reference on how to use Lay Theme functions:You may want a developer if you wish to change Lay Theme further.
Best wishes 🌝
Richard
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

