Option to turn off inline styling of AB Container?
-
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
- The topic ‘Option to turn off inline styling of AB Container?’ is closed to new replies.