Greenshift Container Blocks: Ability to read widths from Block Themes
-
Reproduction
- Insert a Greenshift Row block (or similar container block variant).
- Inspector → General → Content: Full | Boxed | Variable
- Set Content to Variable. → Then below you can read:
- Inherit from theme: [ Set Custom ? ]
- That dropdown menu only offers “normal themes” but not block themes (such as the Greenshift Block Theme or Twenty-Twenty-Three, which was the activate theme on my system for testing)
Proposal: It would be cool if Greenshift could read out the “Content Width” and “Wide Width” from block themes too (defaults or user override). The widths which a user can customize at: Full Site Editor > Styles panel > Layout > Dimensions. (Greenshift Block Theme defaults: Content: 748px Wide: 1200px, as you show in your recent 2023-02-07 Youtube video: How to use Full Site Editor, in depth overview for Greenshift free block theme)
Workarounds
- 1) Set to Boxed and choose a manual width.
- 2) Leave to Variable. Leave dropdown at [ Set Custom ? ] and then fill your theme’s CSS variables in the value fields Frontend Container width and Frontend Container Max width.
- Btw are those two what in WordPress theme context is often referred to as Content Width (
.ct-container
, often960px
) and Wide Width (often1220px
) ?
- Btw are those two what in WordPress theme context is often referred to as Content Width (
Legacy Question
The full site editing features and your Greenshift plugin develop so fast, that documentation sometimes can’t keep up I guess.
In How to set full width in Gutenberg editor WordPress from 2022-06-08 your instruction is:
Insert a native Gutenberg Group block, set option “Inherit Layout properties”, then, drop a Greenshift Row block inside.
I guess that’s obsoleted by the Greenshift container block variants having Content: Full | Boxed | Variable. Or is it still recommended to use an outer a native Gutenberg Group block and wrap the Greenshift container block variants within?
- The topic ‘Greenshift Container Blocks: Ability to read widths from Block Themes’ is closed to new replies.