Archived topic
Query Loop & Container Block Not Working In Loop Template
6 replies · Started by Abdul Khaliq on December 13, 2022
Hi Dear GP Premium Support Team!
I have GP Premium With Active Key Installed.
I have 4 elements for Archive Pages: Site Header, Page Hero, Site Footer, and Loop Template.
All others are working fine, but Loop Template is not working.
If I add Container Block or Query Loop Block into the Loop Template, it doesn't work but if I add something other like Buttons, Heading, Paragraphs, etc, they work fine on Archive Pages.
The issue occurs if I add Container Block or Query Loop Block in Loop Template.
Please Help!
Hi Abdul,
Can you try adding a Query Loop Block again, and we'll check what's going on?
Enable "Inherit Query from Template" as well. Reference: https://docs.generatepress.com/article/block-element-loop-template/
Yes, I did, But it is not working as usual.
Is there any update about this ticket?
Hi there,
in you Customizer > Additional CSS you have this CSS rule:
#main > div {
display: none;
}
That is hiding ALL the div elements in the page.
Delete that CSS.
Ohh, it works, bundle of thanks
Glad to hear that