Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Container- mobile

  • Hello,

    Containers appear overlapping on the mobile page. Like the link

    To prevent this, I used Flex sorting, and I had to type as many as 1400 Row Gap to not overlap.

    I don’t think this is normal.

    Is it right to type this much value?

    In PC, the spacing of the two containers was well displayed by entering only 10-30 values when Flex was aligned.

  • Hi there,

    don’t set Row Gap.
    The issue you have is becuase you have set the Max Height value of the Container Blocks.

    See this for an example:

    https://app.screencast.com/j0sDLZFH674lk

    And here on Tablet:

    https://app.screencast.com/Sj56TfblIKTL6

    When you set a Max Height, that Container will not Grow to accomodate any change in height of the content inside.
    So the content will overflow the container and overlap the content beneath it.

    There is no need to set the Max Width sizes , and your should remove them

  • I removed max height and it still overlaps the layout and comes out weird.

  • You have a lot of changes that need to be made:

    Desktop setting changes:

    1. Select the root container, remove min-height:421px.

    2. Select the left parent container of the query loop block with 1 post, remove height:100%, set min-height:421px.

    3. Select the right parent container of the query loop block with 4 posts, remove height:100%.

    4. Select the post template container of the right query loop block, remove height:208px, set it to height:100%.

    And as David said, do NOT set max-height, it will create overflow issue.

    Once that’s done, let me know, so I can check the mobile settings.

  • Thank you. There is no height setting on the right, and only 100% is made,

    so the design comes out as follows.

    https://postimg.cc/yWZWjHQ9

  • Now select the Grid block of the right query loop, add a CSS class, eg. full-height-grid, then add this CSS:

    .full-height-grid {
        height:100%;
    }
  • There are still two containers overlapped.

  • Hi there,

    Try adding this CSS:

    @media (max-width: 768px) {
      .gb-grid-wrapper-aa991318 {
        margin-top: 380px;
      }
    }
  • Unfortunately, that doesn’t work either.

  • Have you added the code? Try viewing it on a real mobile device, the editor’s mobile view indeed shows no changes.

  • After adding the code, I entered gb-grid-wrapper-aa991318 in Additional CSS.

  • You don’t have to add the class gb-grid-wrapper-aa991318 there. The CSS already targets the overlapping container’s class.

  • Yes, I deleted it, but it still comes out the same on my mobile.

  • This is the mobile full-page screenshot from my view. As you can see, there are no overlapping containers anymore.

    https://postimg.cc/6THTq6zR

    To ensure you’re seeing the latest changes, you might try clearing your cache.

  • I gave the row value to 1400 earlier, so when it looks normal, it looks like that.

    Does it still look normal?

  • Can you make sure all max-height values are removed? I’m still seeing those!
    https://app.screencast.com/1phR7QSOBs5tF

    And what do you think it’ll happen when max-height is set to 0? if you want to remove it, set it to unset instead of 0.
    https://app.screencast.com/yK9lXPBkn6zkN

Viewing 16 posts - 1 through 16 (of 20 total)
  • You must be logged in to reply to this topic.