Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Image Caption Text and Background Colors?

Home Forums Support Image Caption Text and Background Colors?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #141254
    Shane

    Is there a way to change the Image Captions to a different color than the default white text on transparent dark gray background? Can I adjust the level of opacity?

    Thanks!

    #141261
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Absolutely! You can use some simple CSS:

    .wp-caption .wp-caption-text {
        background: rgba(0, 0, 0, 0.5);
        color: #FFF;
    }

    You can change the background to whatever you like – adjusting the 0.5 will adjust the opacity (0.5 being 50%).

    The color is currently white (#FFF) which you can change also.

    Let me know if you need more info 🙂

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