With the block editor comes two new content alignment—wide and full. Themes can declare support for these alignments so they become available in the block editor.
- [Instructor] One of the big selling points…of the block editor is the ability…to add new alignment widths to the content.…To demonstrate what this means…I've added a new post to my site called Content widths,…and right now it's displayed using the 2019 theme…which already has support for these new widths.…In addition to the traditional no alignment…seen here where the image spans the regular content width,…and right, center, and left alignments,…a theme can declare support for two new alignments,…wide and full, which break the aligned item…out of the regular content width.…
These alignments can be added as several blocks…including images, and galleries, columns,…the text and media block, and more.…The wide alignment option seen at the top here,…is intended to extend the width of the block…to cover half of the remaining available space.…The full alignment option seen at the bottom,…is intended to take up all the available space.…Switching back to the Simone theme,…and looking at the exact same content…you see here all the images are aligned the same,…
Released
1/22/2019- Declaring support for default block styles
- Adding support and styles for wide alignment
- Supporting theme-specific colors and fonts
- Extending block styles
- Adding new style variations
Share this video
Embed this video
Video: Add support for wide alignments