Gallery image caption only appears on mouseover

  • Author
    Posts
  • #3391476

    pgage2000
    Member

    My image caption only appears when the mouse is on the gallery image. How do I embed the caption in the image?

    The blog I need help with is 6de.e8a.myftpupload.com.

    #3391497

    pgage2000
    Member

    I found the solution to my problem. It turned out that the theme I am using was setting visibility to hidden:

    .wp-block-gallery .blocks-gallery-image figcaption,
    .wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 0.8125rem;
    padding-bottom: 10px;
    visibility: hidden;
    }

    I added css to make visibility: visible;

    #3391637

    Hi there!

    It looks like you’re in the wrong forum. Your site is using the open-source WordPress.org software so for any further questions, please post here:

    https://wordpress.org/support/forums/

    These forums are for WordPress.com hosted sites only.
    If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:

    https://en.support.wordpress.com/com-vs-org/

You must be logged in to reply to this topic.