[Resolved] Remove gap between 2 images added by gutenberg

Home Forums Support [Resolved] Remove gap between 2 images added by gutenberg

Home Forums Support Remove gap between 2 images added by gutenberg

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1905781
    roadlink

    Hello,

    I have added few pictures via gutenberg image block.
    But there is space and probably paragraph block between them. How I can remove that space to “0” pixel?

    Thanks

    #1905788
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .wp-block-image {
        margin-bottom: 0 !important;
        line-height: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1905791
    roadlink

    Hi Leo,

    Thanks for fast reply both your advice and this one here helped to reduce the space but didn’t make it zero.

    #1905799
    Leo
    Staff
    Customer Support

    I’m actually not seeing my code being added.

    Can you confirm?

    #1905802
    roadlink

    hi,

    Removed after test.

    But added again now. You can check if you want ๐Ÿ™‚

    #1905806
    Leo
    Staff
    Customer Support

    Just cleared my browser cache and used incognito mode but still not seeing it.

    #1905809
    roadlink

    I have cleaned cloudflare cache now. Maybe it was the cause for you.

    #1905816
    Leo
    Staff
    Customer Support
    #1905817
    roadlink

    That worked perfect.
    I have applied it to additional css class.

    thanks Leo.

    #1905824
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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