Centre text and icon in flex div

Hi, sure this is a pretty simple one but I can’t for the life of me get it to work! I simple want to vertically align the text and icon below the image.

Share link

Thanks

do you mean using flex vertical prop like this @adamleeblythe

If you do mean aligning text and icon horizontally you have to set predefined padding-bottom to 0px on paragraph.

1 Like

Thank you so much @Stan !!!

Margin bottom of course! I feel so stupid now!

I changed direction: horizontal, align: center and justify: space between on the div then removed 10px margin bottom on the paragraph and voila!

Thanks again.