Asset Libraries
Last updated on
16 October 2023
The layout styling provided by the Grid Widget module has been divided into six CSS stylesheets and grouped into two asset libraries to allow for overriding and extending. The libraries are:
grid_widget/options_grid_checkboxesgrid_widget/options_grid_radios
The libraries have been attached to the field’s container.
The field’s container (HTML DIV element) has the following HTML element attribute and class added:
- Attribute:
data-[layout property]-size="[number of columns]":
data-columns-size="3"
data-flex-size="6"
data-grid-size="7"- Class:
field--widget-options-grid--[layout property]:
field--widget-options-grid--columns
field--widget-options-grid--flex
field--widget-options-grid--grid
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