Gallery image caption only appears on mouseover

  • Author
  • #3391476


    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



    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;


    Hi there!

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

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

The topic ‘Gallery image caption only appears on mouseover’ is closed to new replies.