Innerblocks div inherits the align property of the parent block
-
Hi.
I’m struggling to understand how alignment works with custom blocks containing innerblocks.
I have created a custom headerblock, which contains a InnerBlocks element. Whenever I set the custom headerblock to align-wide, the InnerBlocks div also inherits the alignwide class.
Could anyone please explain why this is, and how I might avoid it?
I would really like to be able to align the block wide or full, but prevent the innerblocks from getting the same align property.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Innerblocks div inherits the align property of the parent block’ is closed to new replies.