Greenshift Container Blocks: Ability to read widths from Block Themes

[ad_1]

Reproduction

  1. Insert a Greenshift Row block (or similar container block variant).
  2. Inspector → General → Content: Full | Boxed | Variable
  3. 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, often 960px) and Wide Width (often 1220px) ?

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?

  • This topic was modified 18 hours ago by abitofmind.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer