[Resolved] Getting Caption text for images to be center aligned

Home Forums Support [Resolved] Getting Caption text for images to be center aligned

Home Forums Support Getting Caption text for images to be center aligned

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #845969
    Jodie

    Hi Tom, David and Leo

    I was wondering if there is a setting I am missing to get the text in captions on images to be center aligned?

    I currently have this css in the additional css setting in Customise but if I don’t need to do this I’d like to remove it.

    /* START OF Make Img Caption Centre-Aligned*/
    .wp-caption .wp-caption-text {
    width: 100%;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }
    /* END OF Make Img Caption Centre-Aligned*/

    As always your help is appreciated.

    Cheers Jodie

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #846007
    David
    Staff
    Customer Support

    Hi there,

    there isn’t any option to do that so unfortunately you will need to keep that CSS.

    #846017
    Jodie

    Thanks very much David.

    Good to know.

    Cheers Jodie

    #846060
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.