Site logo

[Resolved] Issue Using Query Loop in Elements

Home Forums Support [Resolved] Issue Using Query Loop in Elements

Home Forums Support Issue Using Query Loop in Elements

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2448429
    Math

    Hi,

    Within Elements (blocks), I am using Query Loop to generate 12 posts from a specific category. When I look at the actual page, it’s replicating the same 12 posts again and again 12 times with pagination.

    See link here.

    Do you know what’s causing it to repeat itself?

    Thank you.

    #2448946
    David
    Staff
    Customer Support

    Hi there,

    you cannot add Query Loop block in a Block Element – Content Template. As you’re inserting them inside the Themes loop, hence the repetition.

    Instead you can use a Block Element – Loop Template. Those replace the theme loop.

    #2449528
    Math

    Hi David,

    Good to know. I guess I will have to use the Templates to create the page.

    On the same page, is it possible for the Header block (News heading with verbiage underneath) to be made full width?

    In elements, I made it full width and made the inner container full width but it’s still constrained.

    #2449678
    Fernando
    Customer Support

    Hi Math,

    How is that section added? Is it through a Block Element? If so, try hooking it to after_header instead.

    Let us know how it goes.

    #2450977
    Math

    You are correct Fernando. I had to change it to after_header.

    Thanks for the help!

    #2450982
    Fernando
    Customer Support

    You’re welcome, Math!

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