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.

Query Loop Template Issue

  • Hi,

    I have added a Query Loop Template to use for my posts on the website, see page here

    However, despite trying various fixes including this one from the forum:
    .gb-query-loop-wrapper.my-query-grid > .gb-grid-column.gb-query-loop-item > .gb-container > .gb-inside-container {
    height: 100%;
    } and adding my-query-grid custom css clas to the grid block, I am unable to get the posts to be the same height in a row regardless of their content.

    Please note the posts will all have a featured image but these have not been added just the image block in place.

    How can I achieve this, please?

    Richard

  • Hi there,

    1. Remove that CSS
    2. Edit your Query Loop block and select the Post Template block inside it.
    2.1 set its Layout > Display to Flex, Flex Direction to Columm and its Align Items to Flex Start ( Left )
    2.2 set its Sizing > Height to 100%
    3. Select the Button block and set is Spacing > Margin Top to auto

  • Hi there,

    1. Remove that CSS
    2. Edit your Query Loop block and select the Post Template block inside it.
    2.1 set its Layout > Display to Flex, Flex Direction to Columm and its Align Items to Flex Start ( Left )
    2.2 set its Sizing > Height to 100%
    3. Select the Button block and set is Spacing > Margin Top to auto

  • Hi David,

    That works perfectly, thank you for providing the best support on the internet.

    Richard

  • Glad to be of help 🙂

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