Site logo

[Resolved] Generateblocks and image block styling

Home Forums Support [Resolved] Generateblocks and image block styling

Home Forums Support Generateblocks and image block styling

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1813139
    Paul

    Hi There,

    I have a container within a grid in that container I have two images that stack on top of each other I could add padding to create a gap in-between the stacked images should I be using a nested container (so each image is within the container?)

    I’ll add a link to the site in the private information box.

    Cheers!

    #1813312
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to the site where i can see that layout

    #1813315
    Paul

    Ah sorry I thought I had posted it (I’ve added to private info)

    Thanks David!

    #1813384
    David
    Staff
    Customer Support

    No problem 🙂

    Theres a few ways to do this, yes you could add two container blocks to control their margins. Or use a Spacer Block between them.
    Or you could avoid extra HTML and select the grid container block ( with the logos within ) and in Advanced > Additional CSS Class(es) add image-spacing-v

    then add some CSS:

    .image-spacing-v figure.wp-block-image {
        margin-bottom: 1em;
    }
    #1813637
    Paul

    Perfect. That’s a great help thank you David!

    #1813707
    David
    Staff
    Customer Support

    Glad to be of help.

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