It seems that the default vertical alignment of the text in the "media+text" block in a page, is at the center (check the 4th photo, a lady standing among marble portico).
I would like to align it with the bottom side of the foto.
As I checked the source code of your images, it looks like you are currently using the Gutenberg editor (Block editor) for adding those images. I personally have never created this kind of layout with the block editor so I am afraid I am not sure if there is an option to change the location of the image caption of the image block (but I believe it has).
I would recommend trying all the options of the image block and look for the option to change the location. But if you need custom CSS to completely override the styles of the block, please try:
Dear support,
It seems that the default vertical alignment of the text in the "media+text" block in a page, is at the center (check the 4th photo, a lady standing among marble portico).
I would like to align it with the bottom side of the foto.
How should I do that?
I already tried adding in the custom css box
.has-large-font-size
{vertical-align:text-bottom}
.wp-block-media-text
{vertical-align:text-bottom}
but it seems not to work.
Thanks
Kind regards
Giuseppe
Hello Giuseppe!
As I checked the source code of your images, it looks like you are currently using the Gutenberg editor (Block editor) for adding those images. I personally have never created this kind of layout with the block editor so I am afraid I am not sure if there is an option to change the location of the image caption of the image block (but I believe it has).
I would recommend trying all the options of the image block and look for the option to change the location. But if you need custom CSS to completely override the styles of the block, please try:
Regards,
Paul
You're welcome, Giuseppe!