[Resolved] Caption Styling Not Working

Home Forums Support Caption Styling Not Working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1263593
    Shelley

    Hi. I researched the topic and tried a couple of different css snippets, and nothing seems to work.

    As you can see under the first embedded image about 1/3 of the way down the page on the link I included, the caption looks like plain paragraph text. Here’s my css:

    figcaption {
    font-size: 12px;
    color: #eee;
    }

    I also tried
    wp-caption-text wp-caption{
    font-size: 12px;
    color: #eee;
    }
    What am I doing wrong? Thanks!

    #1263596
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    .wp-block-image figcaption {
        font-size: 12px;
        color: #eee;
    }

    Let me know if this helps 🙂

    #1263642
    Shelley

    Awesome, that worked. Thank you!

    #1263650
    Shelley

    By the way, is there a list somewhere of every css element within Generatepress that can be used to style a blog post or page?

    #1263660
    Leo
    Staff
    Customer Support

    There isn’t a list available unfortunately as there are simply too many classes out there.

    The easiest way would be to use right click on the element you are wondering and use the browser inspect tool:
    https://www.screencast.com/t/hndH1kkoyCC

    #1263664
    Shelley

    Thanks again!

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