• Resolved Ervin Domonkos

    (@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

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.

    Thread Starter Ervin Domonkos

    (@arachnoidea)

    Thank you for the fast response!

    That’s great news!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Option to turn off inline styling of AB Container?’ is closed to new replies.