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
{{ message }}
Repository navigation
Schema: theme.json allows to set styles.blocks.*.spacing.blockGap #38929
So, one cannot set a blockGap value in the styles section if blockGap is not enabled in the settings section? A theme developer would want to set a default blockGap but not let theme users change it.
So, one cannot set a blockGap value in the styles section if blockGap is not enabled in the settings section? A theme developer would want to set a default blockGap but not let theme users change it.
UPDATE:
You can set a BlockGap value but prevent theme users from changing it by following this example:
but instead
set the blockGap value to false;
Activity
mrleemon commentedon Feb 21, 2022
So, one cannot set a blockGap value in the styles section if blockGap is not enabled in the settings section? A theme developer would want to set a default blockGap but not let theme users change it.
skorasaurus commentedon Mar 2, 2023
UPDATE:
You can set a BlockGap value but prevent theme users from changing it by following this example:
but instead
set the blockGap value to false;
skorasaurus commentedon Mar 6, 2023
Since this issue was made; blockGap on a per block basis was implemented In #40875
If you're having specific issue with the navigation block; please create a new issue.