• I like the simplicity with flexibility of the Container block. I function I find cumbersome is that there isn’t a good way to add a sibling container block. Say I have a parent block to contain 5 child blocks, every time I add a block to the parent block, it get nested down to a third level inside the child block, then I have to move it up to the sibling level, kind of stupid way to do it. I’m wondering if there’s a handy way to just add child container blocks quickly and easily.

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support ying

    (@yingscarlett)

    Hi there,

    You can select one of the child containers, click the +icon (block inserter at the top left corner of the editor), select container block, it will add a sibling container to the selected child container.

    Thread Starter Skylabb

    (@skylabb)

    @yingscarlett

    Thank for the response. Doesn’t work like you describe for me. If you start with the first container as the parent, selecting it gives you two tool options: Add to Container and Add Inner Container. To your confusion and not making any sense, both of these tools do the same thing! They just add a child container. No difference. And while selecting the child container I just created, I get the +icon tool as you described, and hitting this button gives you a CHILD container inside the child container. This is probably the most confusing and useless tool of the plugin while the rest works pretty well.

    • This reply was modified 1 week, 1 day ago by Skylabb.
    • This reply was modified 1 week, 1 day ago by Skylabb.
    Plugin Support Alvind

    (@alvindcaesar)

    Hi there,

    For your use case, the Grid block is a better choice than the Container block.

    https://learn.generatepress.com/blocks/block/grid/

    The Grid block is essentially a specialized Container block with a predefined grid layout. It makes it much easier to create multiple columns without having to configure the layout manually, while still allowing you to place any blocks you want inside each grid item.

    Thread Starter Skylabb

    (@skylabb)

    @alvindcaesar

    The Grid block can help with a multiple column layout. However it’s beside the point being discussed. I sometimes use the container group as a flex structure which works slightly differently than a grid structure the way they behave and their unique properties.

    Secondly, to make the container block tools less confusing and more useful. To keep with less is more yet powerful philosophy of the plugin, I’d suggest the container block needs only one generating button tool. When selecting a single block, clicking on the +icon simply makes a child container inside it. Clicking multiple times on the +icon while selecting a container will just make multiple child sibling containers as many as you want. And if you select one of the child container and click the +icon, you simply make a nested/child contain inside that child container with the exact function. So in the end, all you need is one button that generates child containers in the same ‘hierarchy level’ instead of nesting further down as what the tool does now.

    thanks for your attention

    Plugin Support Alvind

    (@alvindcaesar)

    Thanks for the feedback. We’ll review your suggestion and see how we can further optimize the implementation along the lines you described.

    On a side note, if you need a Flex layout instead of a Grid layout, you can always change it under the Display Layout settings on the Grid block.

    Thread Starter Skylabb

    (@skylabb)

    Thanks for your consideration, @alvindcaesar

    Keep up all the good work.

    Plugin Support Alvind

    (@alvindcaesar)

    You’re welcome @skylabb !

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.