Skip to content
Snippets Groups Projects
Forked from project / layout_builder_styles
1 commit behind, 4 commits ahead of the upstream repository.

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration

INTRODUCTION

Layout Builder Styles allows site builders to select from a list of styles to apply to layout builder blocks and layout builder sections. A "style" is just a representation of one or more CSS classes that will be applied. Additionally, for blocks, a block template suggestion is added for the selected style.

REQUIREMENTS

  • This module requires, at minimum, Drupal 8.7.0.
  • This module requires no additional modules.

INSTALLATION

CONFIGURATION

When placing a block into a layout, this module will check to see if any block styles are available for the block type, and if so, present the user with a select list to choose one to apply.

A simple user interface is provided for managing the styles available. Since a style is a configuration entity, it can be exported and imported just like any other configuration data on your site.