Photo caption to align to center

Winnie March 10, 2020 at 12:15 pm

Hi,

How to set the text of photo caption to align to center?

Thanks a lot!

Replies (6)

  1. Winnie March 10, 2020 at 12:15 pm

    Hi,

    How to set the text of photo caption to align to center?

    Thanks a lot!

  2. Spiracle Themes March 11, 2020 at 2:46 am

    Hi Winnie,

    For this issue, we need a link to your website, only then we can provide you the relevant CSS for that

    Best Regards

  3. Winnie March 12, 2020 at 5:30 am

    Hi,

    Here is my blog (in Chinese though)
    https://onyourmarkgo.com/

    Thanks!

  4. Spiracle Themes March 13, 2020 at 2:12 am

    Hi Winnie,

    Thanks for posting the URL. There is no photo caption on your site. Is it the post Heading you want to center?

    Check Screenshot

    View Screenshot

    Best Regards

  5. Winnie March 16, 2020 at 7:14 am

    Hi,

    Please check the screen capture at the link here.

    Please refer to the web page here for details

    Thanks a lot!

  6. Spiracle Themes March 16, 2020 at 7:23 am

    Hi Winnie,

    Try this CSS

    figcaption {
    text-align: center;
    margin: 0 auto;
    }

    Copy and paste it in Appearance -> Customize -> Additonal CSS

    Best Regards

  7. Winnie March 17, 2020 at 6:25 am

    It works! Thanks a lot!

  8. Spiracle Themes March 18, 2020 at 9:31 am

    You are welcome 🙂

Post a Reply

Reply To: Photo caption to align to center
Your information: