• Resolved m4t1eu06

    (@m4t1eu06)


    Hi,
    sorry for the mistakes, i’m french

    I used a few “media & text” block on my website and i have the same issue in all of them:
    the image is too much on the side.
    I would like to have a small empty space between the side of the image and the end of the contener.
    I guess there’s some CSS stuff to do but i don’t know what.
    could you please help me?
    Thanks
    Mathieu

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Leo

    (@leohsiang)

    Hi there,

    Try this CSS:

    .entry-content .wp-block-media-text.alignwide {
        margin-left: 0;
        width: auto;
    }

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

    I would also recommend using GenerateBlocks to create like that – it would allow better control of padding and everything else:
    https://generateblocks.com/

    Not a big fan of text and media block 🙂

    Thread Starter m4t1eu06

    (@m4t1eu06)

    Thank you @leohsiang,
    that is the perfect answer

    A quick question:
    it’s my first css modification in this theme and i don’t plan to do any other; should i create a child theme?

    Thanks!

    Leo

    (@leohsiang)

    Nope – Additional CSS field would do just fine 🙂

    Thread Starter m4t1eu06

    (@m4t1eu06)

    That’s what I thought.

    Thanks!

    Leo

    (@leohsiang)

    No problem 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Padding in all Media & Text Block’ is closed to new replies.