You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason we check for support and add it instead of using the built-in way of adding it is because we don't want Container blocks inside the Grid to have the option.
Steps to reproduce
Add a block theme
Check the Container block for full/wide alignment options.
Expected behavior
The option should appear if the block theme supports it.
I'm using Underscores and experimenting within global styles defined throu theme.json.
When I have theme.json in my theme, align wide and align full options missing in all blocks. I have set theme support for align-wide in functions.php. Options missing also when I set layout settings in theme.json and remove support from functions.php.
Description
It's been reported that themes using
theme.json
do not display the align wide/full option in the Container block.It seems block themes don't use
add_theme_support
, which GB depends on checking to add this option: https://fullsiteediting.com/lessons/global-styles/#h-layout-and-content-widthThe reason we check for support and add it instead of using the built-in way of adding it is because we don't want Container blocks inside the Grid to have the option.
Steps to reproduce
Expected behavior
The option should appear if the block theme supports it.
Actual behavior
The option doesn't appear.
References:
The text was updated successfully, but these errors were encountered: