Home/ Documentation/ WordPress/ Blocks/ Common Block Controls

Common Block Controls

WordPress block editor supports a bunch of common block attributes such as background color, text color, font size, alignment and so on. Use the Supports field on the Block action to enable selected common attributes. These common attributes are implemented as CSS classes defined by WordPress or the theme. In some cases these CSS rules

WordPress block editor supports a bunch of common block attributes such as background color, text color, font size, alignment and so on.

Use the Supports field on the Block action to enable selected common attributes.

These common attributes are implemented as CSS classes defined by WordPress or the theme. In some cases these CSS rules might clash with CSS rules defined by our theme’s custom styling or the framework we are using. The solution is to adjust our CSS styling accordingly. 



Last updated on October 29, 2021 at 5:30 am


Print this article