generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

GB query loop pagination markup taking up space

Open quantumleap33 opened this issue 3 years ago • 2 comments

When using a GB query loop in a loop element with Inherit query from template activated, the pagination is still visible in the markup and taking up space even though the number of posts is less than the number set in the blog settings. https://vimeo.com/manage/videos/784163798/4af634c69f

quantumleap33 avatar Dec 24 '22 22:12 quantumleap33

The pagination block was deleted from the editor?

JeanPaiva avatar Jan 03 '23 16:01 JeanPaiva

Pagination block exists in the editor. But in the front end, pagination markup occupies space. If I had set a margin-top of 40px for the pagination in the backend, the margin would still be visible in the front end since the markup is also visible.

<div class="gb-button-wrapper gb-button-wrapper-0712cbd7 gb-query-loop-pagination"></div>

For example, if in the Settings -> Reading, I have Blog pages show at most set to 9, front end shows 9 posts as expected with no pagination but there is an extra gap at the bottom created by the pagination markup with the margin-top value..

quantumleap33 avatar Jan 04 '23 16:01 quantumleap33