• Resolved ludwigkeck

    (@ludwigkeck)


    The Media & Text block inserts a left margin causing text not to align with other text on the page. How can I get rid of that margin?

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

    (@threadi)

    I cannot reproduce the problem described here. Everything is in line with the standard TwentyTwentyFour theme.

    Which theme are you using? You are also welcome to show a link to your site.

    Thread Starter ludwigkeck

    (@ludwigkeck)

    Thank you, Threadi,

    I am using the Twenty-Twenty-One. When using the Media & Text block with the image on the left it aligns with other text. There is a margin on the right side of the image and then the text. When the image is on the right side and the text on the left there is a margin at the left of the text. It looks indented.

    That makes the text and image look out of place with the other text.

    Here is a page that shows my concern: Demo – Cafe Ludwig ( https://cafeludwig.com/demo/ )

    Is that normal for this block?

    threadi

    (@threadi)

    Ah, now I see what you mean. When the text is on the left, it catches the eye. Unfortunately I don’t see an option for this either, but the following custom CSS should help:

    .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 0 }
    Thread Starter ludwigkeck

    (@ludwigkeck)

    Thank you very much, Threadi.

    That does take care of it.

    threadi

    (@threadi)

    Nice if I could help. You are welcome to set the topic to solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Media & Text block – margin’ is closed to new replies.