Site logo

Archived topic

Text under block or picture in the middle

21 replies · Started by Adwin on August 27, 2020

Viewing posts 1–15 of 22

Hello, how can I align text under a picture or block in the middle?

And is it possible the change the size of this same text?

Hi there,

Are you referring to image captions?

Can you guide me to the element in question?

I forgot how I can send a picture..

I talk about the text below a picture, now it's automatically aligned left....

Can you guide me to the page/post where I can see this issue?

Thanks :)

Try this CSS:

.wp-block-image figcaption {
    text-align: center;
    margin-top: 0;
    font-size: 12px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

I've added margin-top property in case you want to bring the caption closer to the picture but it's optional :)

and what about the size of the text? Like to make it a little smaller...

I think I need to change this in the customizer, the link you send me is from 2016 ;)

I have to add a plugin, think I will hire someone to change it in the code for me, if that's possible...

Now you really confuse me...you told me this: The customizer doesn’t have this option.

This archived topic is closed to new replies.