[Resolved] Adding padding under image gallery

Home Forums Support [Resolved] Adding padding under image gallery

Home Forums Support Adding padding under image gallery

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2238685
    Sophie

    Hi,

    It seems that there has been some update that has affected the image galleries on our site. They no longer have any padding beneath the galleries. Is there a way I can add some padding below the gallery, so between the images and text. The space between the images on the most part isn’t affected.

    You can see several examples of this within this post: Road to Hana Itinerary

    Many thanks,

    Sophie

    #2238686
    Fernando
    Customer Support

    Hi Sophie,

    You may try two things to add spacing below the gallery.

    1. Insert the Gallery Block within a GB Container Block which would allow you to easily modify the spacing.
    2. Or, add a CSS like this in Appearance > Customize > Additional CSS to modify the bottom margin of all WP Gallery Blocks:

    .wp-block-gallery {
        margin-bottom: 10px;
    }

    Alternative if you want padding bottom:

    .wp-block-gallery {
        padding-bottom: 10px;
    }

    Kindly modify 10px to your preferred value.

    Hope this helps!

    #2239560
    Sophie

    That’s perfect. Thank you Fernando.

    #2239709
    Fernando
    Customer Support

    You’re welcome Sophie! Glad that worked!

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