Home Forums Theme Support Centrally aligning image caption

This topic contains 2 replies, has 2 voices, and was last updated by  Arnabesh Ray 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2117

    Arnabesh Ray
    Participant

    Hi, I can’t #centrallyalign the #imagecaption. Is anyone out there?

    #2176

    Max Tyler
    Keymaster

    Hello! Sorry for the late reply 🙁

    To centralize the image caption, You can log in to Dashboard > Themelines Framework > Custom CSS, add the following code:

    .wp-caption-text {
    text-align: center;
    }

    You can also add align=”aligncenter” inside the image caption shortcode: [caption id="attachment_6" align="aligncenter" width="300"]

    #2220

    Arnabesh Ray
    Participant

    Thanks Max, your solution worked really smooth and the issue got resolved immediately. Thanks for your help and support.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.