• Hello,

    I just noticed that I can not set align wide or align full for row layout blocks that I placed inside another row layout block.

    It works for the top-level row layout block, but for the ones inside only align center is available.

    I tested this in WordPress 5.9 with the Twentytwentytwo theme and Kadence Blocks versions 2.1.19 to 2.2.3.

    Can this be fixed?

    Many thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Machtnix

    (@hillyfov)

    Edit:

    What I descibed above occurs only when there is a theme.json file present in the folder of the active theme.

    Also, it doesn’t matter if theme.json contains these layout settings or not:

    {
        "settings": {
            "layout": {
                "contentSize": "840px",
                "wideSize": "1100px"
            }
        }
    }
    

    When there is no theme.json file present (or temporarily renamed), alignment options work for nested row layout blocks as expected.

    • This reply was modified 2 years, 10 months ago by Machtnix.
    hannah

    (@hannahritner)

    Hey,
    Thanks for posting! We will get a fix pushed out for this very soon.
    Thanks for your patience!

    Best,
    Hannah

    To add, we noticed this when adding a theme.json which was to remove the empty SVGs put in the latest version of WP.

    Removing the theme.json isn’t a solution for us for Performance reasons, but it does restore the alignment options when removed, as above.

    Please rollout a fix for so we don’t require a theme.json for the duotone SVGs.

    {
      "version": 1,
      "settings": {
        "color": {
          "duotone": null
        }
      }
    }
    

    Hi,
    This is not something Kadence controls. This is how core wants it to work with nested blocks. Read more here:

    https://github.com/WordPress/gutenberg/issues/33374

    All the best,

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t set align wide or align full to nested Row Layout blocks’ is closed to new replies.