• Resolved Carsten Lund

    (@carsten-lund)


    Hi there, I wan’t to create an image grid which does not stack the images on mobile, but keep the grid with smaller images instead.

    I have been looking at the Grid overview documentation, but can’t find any solution for this.

    Is this possible with the Grid Block, to keep grid design on mobile?

    Thanks!

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Carsten Lund

    (@carsten-lund)

    3. It’s because it’s not the right way to make your layout. You should only need 4 container block under the Grid, and keep on adding images to the 4 containers. If you add 5th container, it will wrap.

    Ok, but if I add only 4 container blocks, I can’t fill out all horizontal space, if I want to achieve a grid of small images with a container width of 10-20%?

    View post on imgur.com

    View post on imgur.com

    What if I add 6, 8 or 12 container blocks, as long as it is an even number?

    Thanks

    • This reply was modified 2 years, 11 months ago by Carsten Lund.
    Plugin Support ying

    (@yingscarlett)

    but if I add only 4 container blocks, I can’t fill out all horizontal space

    You have 4 container blocks, in order to fill the horizontal space, each container width would be 100% / 4 = 25%. If you want to use 20% for each container, then there need to be 5 containers.

    Hope I made the it clear ??

    What if I add 6, 8 or 12 container blocks, as long as it is an even number?

    As long as the total width of the containers is 100%.

    Plugin Support ying

    (@yingscarlett)

    You can add a headline block with in the same container that the Grid block nested in.

    Then set negative top margin to the headline block, eg. -200px.

    Thread Starter Carsten Lund

    (@carsten-lund)

    Hi Ying, the reason I ask this rhetoric question is because you wrote:

    You should only need 4 container block under the Grid If you If you add 5th container, it will wrap.

    Plugin Support ying

    (@yingscarlett)

    So everything’s clear now?

    Let me know if there’s anything you don’t understand ??

    Thread Starter Carsten Lund

    (@carsten-lund)

    Thanks for your help, I appreciate it ??

    Plugin Support ying

    (@yingscarlett)

    Glad to hear that ??

    You are welcome!

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Keep grid design on mobile?’ is closed to new replies.