Skip to content

Commit

Permalink
Docs: Link to CSS that wp-block-styles include (#30433)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribaricplusplus authored Apr 22, 2021
1 parent 755a227 commit de77d3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/how-to-guides/themes/theme-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ The block editor allows themes to opt-in to slightly more opinionated styles for
add_theme_support( 'wp-block-styles' );
```

You can see the CSS that will be included in the [block library theme file](https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/theme.scss).

### Wide Alignment:

Some blocks such as the image block have the possibility to define a "wide" or "full" alignment by adding the corresponding classname to the block's wrapper ( `alignwide` or `alignfull` ). A theme can opt-in for this feature by calling:
Expand Down

0 comments on commit de77d3e

Please sign in to comment.