Home Forums Viral News Image caption size

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24714
    lucas
    Participant

    Hi I would like to change the caption size for the caption text beneath images in posts.

    I have attempted with this css but it did not work:

    .wp-caption-text {
    text-align: center;
    font-size: 10px !important;
    }

    All of the post text is changed with the following (including the caption) but I only want to change the caption:

    .vl-article-content{
    font-size: 10px;
    line-height: 1.6;
    }

    #24767
    Hash
    Keymaster

    Can you please show us the text on your website that you are looking to change? Now we are not sure about which text you are looking to change.

    #24897
    lucas
    Participant

    Thanks for your reply. I have now resolved this. To change the style of the caption text under images in posts I had to edit the class “.wp-block-image figcaption”

    .wp-block-image figcaption{
    font-size: 13px;
    font-family: “poppins”,sans-serif;
    text-transform: uppercase;
    color: #808080 !important;
    line-height: 1.2
    padding-bottom: 5;
    }

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