Advertising sustains the DA. Ads are hidden for members. Join today

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_checkboxes
  • grid_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: