[Resolved] Image Caption Customization & Centering

Home Forums Support Image Caption Customization & Centering

  • This topic has 4 replies, 2 voices, and was last updated 1 year ago by Leo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #1226421


    I’ve reviewed the support forums and I’m unable to find assistance with the following.

    #1 I want to center the captions underneath the images that are in-content.
    #2 I want to add a small 30 px background coloring behind the image caption text, coloring #eaeae8 so it’s different from the white space of the content and puts emphasis on the image & image caption
    #3 I’d like to be able to customize the font size in the image caption to match the H6 layout, Upper Case, Oswald, Font point 18

    Thanks in advance!

    Customer Support

    Hi there,

    Try this CSS:

    .entry-content .wp-caption .wp-caption-text {
        text-align: center;
        background-color: #eaeae8;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 18px;
        text-transform: uppercase;
        font-family: "Oswald";

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

    Let me know if this helps πŸ™‚


    Thanks Leo, that worked perfectly.


    Marking as resolved, thanks.

    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.