Centering Text over Image

Hello!

I’m currently creating a Dynamic List and I’m facing a problem: is there a way within webflow, to center some text (in this case the title of the post) not only horizontally, but vertically as well?

(By the way, sorry if I did any mistakes, I’m a french guy :wink:


Here is my public share link: LINK
(how to access public share link)

Hi @Malo_Mn

For centering any element vertically set its position: absolute, aligning top: 50% and transforms move by Y-axis: -50%

Sure don’t forget to set parent of this object, position: relative.

Regards,
Anna

4 Likes

Thank you so much @sabanna for this quick answer, you helped a lot!

1 Like

Always welcome :slight_smile: :smiley:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.