• Hello, thank you for the plugin. Works as expected, really simple to use.

    A question one a more challenging usecase. Perhaps you have an idea how to do this.

    I want to show a section ‘services’ with two rows with each 3 columns. Each service sits in a column with an image and a button with text and link. The position of the individual services should randomly show in the first column, the second on the second column, the third on the third column, etc… On page-refresh the services should change position randomly. For example service 1 is now on position 3, service 2 on position 6, service 3 is on 1, etc…
    Now I have added the two rows with the 3 columns inside the Content Randomizer block. This is to avoid a service being shown twice on the page. This works but to have the rows with all of the services repeatedly included in the page seems ridiculous.

    Any idea on a more elegant solution?

    Regards
    Ed

    • This topic was modified 3 days, 11 hours ago by kingbolo. Reason: spelling erro
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi Ed,

    Thanks for the kind words, and great question!

    Columns aren’t really a great solution for your use case.

    I would rather use Row or Grid block with children blocks that have configured width. Then, you can set up the Blocks Randomizer around them, and configure to display all 6 services. So this way all 6 will always be displayed randomly inside a single parent Row/Grid block (with “Allow to wrap to multiple lines” option enabled).

    So the hierarchy could be as follows: Row > Blocks Randomizer > Section1, Section2, etc.

    where each section has a predefined width, like 33,33% and a padding to make them visually separate (or margin in-between, but then you need to play a bit more carefully with width + padding + margin to make 3 sections in one row to occupy the whole width).

    I used paragraphs, but you can use other Group’s or any combination of blocks for each children within the Blocks Randomizer.

    Block editor: https://quicksnip.com/s/oqmeASTQ9VJwNsA
    Front-end: https://quicksnip.com/s/RqaDfsGm7EuIZRT

    I hope this helps!

    Thread Starter kingbolo

    (@kingbolo)

    Great, thank you for the detailed reply.
    I will try the suggested set up.

    Best Regards, have a nice day
    Ed

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

You must be logged in to reply to this review.