• Resolved Eddy

    (@eddystile)


    I saw that Twentig plugin add padding: 0 8%; in media&text block.
    How can i disable that ? Must i override it in css ?

Viewing 1 replies (of 1 total)
  • Plugin Support Yann

    (@collet)

    Hi Eddy,

    The padding: 0 8%; you’re seeing in the Media & Text block is actually a WordPress core value. Twentig reuses that value because we dequeue the core Media & Text stylesheet and re-enqueue our own version to improve the breakpoint behavior — but the 0 8% padding itself comes from core.

    So yes, if you’d like to remove it, the easiest way is to override it with custom CSS. To do so:

    1. In the WordPress dashboard, press Ctrl + K (Windows) or Cmd + K (Mac) to open the command palette.
    2. Type “Open Custom CSS”.
    3. Add the following CSS:
    .wp-block-media-text > .wp-block-media-text__content {
    padding: 0;
    }

    Have a nice day,
    Yann

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.