Support » Plugin: Atomic Blocks - Gutenberg Blocks Collection » Option to turn off inline styling of AB Container?

  • Resolved a-idea studio

    (@arachnoidea)


    Hello,

    I really like working with the AB Container block, it gives me a lot of customization possibilities under Gutenberg.

    However, there is something I don’t understand about it. It creates the container block with this inline style:

    style=”padding-left:0%;padding-right:0%;padding-bottom:0%;padding-top:0%;margin-top:0%;margin-bottom:0%”

    Even if I don’t want to set any initial values to paddings and margins. Now I have to handle it in some places with !important flags in my CSS because I don’t want to use inline styles with it and/or don’t like to give it a value in percentages.

    My advice for fixing this issue is to add an option to leave these settings to the theme’s CSS (and don’t include inline styles in that case).

    Another ideas I have for this block type:
    – Add ID (HTML anchor) settings: sometimes it’s useful when navigating between sections
    – Add the background opacity option even if I choose to use a background color and not an image (can be resolved with RGBA)

    Thanks for the great work!
    Ervin

    • This topic was modified 5 months, 1 week ago by  a-idea studio.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi there,

    There’s an update coming to the container block to fix these quirks! The update should be out next week. Thanks for the feedback on the other items, we’ll also take a look at adding those.

    Thank you for the fast response!

    That’s great news!

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