- This topic has 21 replies, 2 voices, and was last updated 5 months, 4 weeks ago by
Leo.
-
AuthorPosts
-
August 27, 2020 at 12:12 pm #1420918
Adwin
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?
August 27, 2020 at 1:06 pm #1420975Leo
StaffCustomer SupportHi there,
Are you referring to image captions?
Can you guide me to the element in question?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 28, 2020 at 2:05 pm #1422327Adwin
I forgot how I can send a picture..
I talk about the text below a picture, now it’s automatically aligned left….
August 28, 2020 at 2:06 pm #1422329Leo
StaffCustomer SupportCan you guide me to the page/post where I can see this issue?
Thanks ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 28, 2020 at 2:21 pm #1422343Adwin
here, text under food photo
August 28, 2020 at 2:24 pm #1422348Leo
StaffCustomer SupportTry 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 ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 28, 2020 at 2:26 pm #1422353Adwin
and what about the size of the text? Like to make it a little smaller…
August 28, 2020 at 2:28 pm #1422356Leo
StaffCustomer SupportIncluded in the CSS above:
https://generatepress.com/forums/topic/text-under-block-or-picture-in-the-middle/#post-1422348Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 29, 2020 at 1:26 am #1422639Adwin
I think I need to change this in the customizer, the link you send me is from 2016 ๐
August 29, 2020 at 8:34 am #1423086Leo
StaffCustomer SupportSorry what? The customizer doesn’t have this option.
The link I sent you above is from this post?
https://generatepress.com/forums/topic/text-under-block-or-picture-in-the-middle/#post-1422348Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 29, 2020 at 8:52 am #1423118Adwin
yes, this link https://docs.generatepress.com/article/adding-css/
August 29, 2020 at 9:08 am #1423136Leo
StaffCustomer SupportWhat’s wrong with it?
That’s the link to add CSS and the methods haven’t changed since 2016.
Have you tried adding the CSS code I provided here?
https://generatepress.com/forums/topic/text-under-block-or-picture-in-the-middle/#post-1422348Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 29, 2020 at 9:51 am #1423176Adwin
I have to add a plugin, think I will hire someone to change it in the code for me, if that’s possible…
August 29, 2020 at 10:07 am #1423192Leo
StaffCustomer SupportYou can use the Additional CSS suggested in the same article:
https://docs.generatepress.com/article/adding-css/#additional-cssIt’s a default function in the customizer.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 29, 2020 at 10:17 am #1423209Adwin
Now you really confuse me…you told me this: The customizer doesnโt have this option.
-
AuthorPosts
- You must be logged in to reply to this topic.