Files
List of downloadable files
Last modified: April 11, 2023
Block names
t2/files
, t2/file-item
Properties (t2.json)
layout.icons
Icon used on a download list item. The icon need to be registered as a T2 icon.
layout
Icon position.
features
Enable file description field.
Style properties
Base margin
- --t2-files-spacing-margin
- Default: 1.75em
Item gap
- --t2-files-spacing-item-gap
- Theme.json: wp.custom.t2-files.spacing.item-gap
- Default: --wp--preset--spacing--50
Item border
- --t2-files-item-border
- Theme.json: wp.custom.t2-files.item-border
- Default: thin
Filename font size
- --t2-files-typography-filename-font-size
- Theme.json: wp.custom.t2-files.typography.filename-font-size
- Default: inherit
Description font size
- --t2-files-typography-description-font-size
- Theme.json: wp.custom.t2-files.typography.description-font-size
- Default: 0.8125em
Meta font size
- --t2-files-typography-meta-font-size
- Theme.json: wp.custom.t2-files.typography.meta-font-size
- Default: 0.8125em