Archived topic
Container formatting height
5 replies · Started by Konstantin on November 15, 2021
Hi! I'm having an issue with properly displaying dynamic content coming from Toolset 'Fields and Text Block', specifically when the content is coming from a repeated fields, i.e. from a loop. Since the content of those blocks significantly vary in length (videos, text, images, etc.) I need the specified padding and margin to be respected. Unfortunately that only works when the fields are of very similar length and I add a substantial margin-bottom to guarantee that the content won't start overlapping. I reached out to Toolset and they suggested as a first step to switch to a standard theme, which indeed cleared the issue. But there seems to be some sort of incompatibility with GP and at this point my workarounds are not sufficient. Access to a page provided in the private field. Thanks!
Hi there,
Can you show me where I should be looking at?
Let me know :)
Hi! If you scroll down you'll see text/images/videos starting to run over, as if the height of each container (there are 3) is fixed (which it isn't).
Are you using a child theme?
Can you switch to the parent theme to test?
Let me know :)
OK, I switched to the GP child theme, not my custom child theme, and the issue disappears. So it's clearly something in my custom CSS that's taking over and I'll need to investigate further. Thank you for being available to help!
No problem :)
Check the CSS related to the container, looks like a max-heightis set for something.