On this page
Section & block styles
Last updated on
18 July 2019
Layout Builder Styles allows you to apply styles to both blocks and sections in Layout Builder.
- For blocks, this module adds a CSS class to the block div element and also provides a template 'hint' for the style, allowing you to provide a custom block template for a style.
- For sections, a CSS class is applied to the outer div of the section, which is provided by the layout template for that section. This currently requires that the layout you select for the section already has a configuration form associated with it.
Notice
Currently, only sections with a pre-existing configuration form are compatible with Layout Builder Styles. A core issue will allow Layout Builder Styles to work with sections without a configuration form.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion