Hello! I am working on a landing page for my company using the drag and drop design tools and we have a section that has three columns next to one another with various text and images as well as a white background within each column. We would like to figure out how to make it so that the white background of the columns are all the same height, despite the variation in amount of text within them. We've played around with changing the padding and adding in extra line spaces however this effect only works on some devices and not all.
I have very limited coding experience so I'm hoping that someone may have some kind of code snippet they may be willing to share and instructions on where I should place it? If there is no way to do this within the drag and drop feature, Id be grateful to know what our next best option might be. Thank you!
Thank you Alyssa. I pasted the code snippet as you've instructed however there is no change to the column height.
I'll look into creating a child theme using the steps detailed in the article you provided - thank you! Once I've accomplished this, would there be a different code snippet that I would want to use to solve this issue?
@DHellman Hm, it's a HubSpot theme so not sure why it's missing that functionality. HubSpot theme files aren't directly editable and not sure if you'd be interested in creating a Child Theme since you'd have to switch templates. But a quick solution would be:
It may currently appear as if the white backgrounds for the columns are the same height, but thats just because I added in some extra line breaks to the text boxes to make them equal. However this is just a short term solution as this doesn't work for all devices. Would appreciate any intell you could provide!
HubSpot already has DnD set up to automatically make columns next to each other stretch to the same height. The only reason I can think for it to be not doing this for you is that the theme/template you're using has overwritten that. Do you have a link to the page I could view so I can take a look at the html/css?
If this answer solved your question, please mark it as the solution.