• When I create a block with media and text, then choose the option to put the text on the left, there is still padding on the left side of the text block that prevents it from aligning with the rest of the material.

    wp-block-media-text__content has a padding-left value of 8% no matter which side of the block it’s on. This disrupts the flow of the post, and I can find no way to adjust that through the UI. The default should be that content aligns with other block types — which in fact is what happens when the text is on the right.

    At the very least, there should be a user control to override the bad behavior.

    • This topic was modified 2 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    This sounds like there may be a theme issue interfering with the padding itself, which might explain the problem. You might be able to fix that with some custom CSS, which we might be able to help you with (or the theme author’s support forum might be able to assist you!)

    Can you provide a link to where you see this happening and possibly a screenshot so we can take a closer look?

    Thank you!

    Hi @vikingjs,

    Try adding !important like this:
    padding-left: 80% !important

    Let me know if my answer can help you resolve your issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong padding for media & text when text on left’ is closed to new replies.