Streaming live at 10am (PST)

Centering Text over Image


#1

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)


#2

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


#3

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


#4

Always welcome :slightly_smiling: :smiley:


#5

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