Firstly - apologies for the way I’m describing this - it’s difficult for me to articulate.
I have a grid section on my site, to essentially create two columns of content - in the first column is an image with a RTB beneath and to the right is a card with some text in, some of which is conditional content.
Essentially, I have set the BG colour of the Div block on the right, but this is currently appearing as the same height as the column before as it’s set up as a Gird. However, given some of the content is conditional, I’d love for the BG/Div height to be responsive to the content instead of being fixed.
I’ve attached a read-only link below as I’m aware I’ve perhaps done a botch-job of describing this, but if anybody understands, I’d greatly appreciate your help:
Thanks in advance!
Changing the Grid’s align setting to top instead of stretch, should give you the result you want.
Wow, such a quick fix - thank you so much!
My final question is at the top of the screen where we have text that reads: HELLO, MY NAME IS: [NAME] - at present, there’s a bottom border that spans the full width of the Div to act as an underline to the name, but the ideal scenario is that this would be the width of the name, not the entire div, and respond to each different CMS entry - is this possible?
if you set the Cat Name’s container to Flexbox - Align: center, the cat name will be as wide as the name and so will the underline.
Hi Maria, thank you - I’ve just gone in and made those changes, but still am not having any luck.
I think it’s because we’re achieving the underline with a border because we want to control the thickness and spacing between the text and the line itself - is there a way to make this work?
Thank you once again
I tried it in your page and it worked for me. And that’s how I would do it.
Let me check again. Maybe I forgot to include some step
Thank you so, so much - I hope you have a fantastic week ahead!