Skip to content

Query Pagination: Control the layout when next/previous buttons are not displayed #34997

@scruffian

Description

@scruffian

What problem does this address?

The new layout controls in the query pagination block give us the ability to align the next/previous buttons, which is super helpful, but when there are fewer posts on a blog, these next/previous links aren't output which means the page numbers can jump around a bit, for example:

Screenshot 2021-09-21 at 11 07 19

Screenshot 2021-09-21 at 11 07 12

What is your proposed solution?

In Blockbase we use CSS Grids to control the position of these elements, which means if one is missing then they continue to stay in the same place.

In addition it would also be useful to have an option to hide page numbers on smaller screen sizes.

Metadata

Metadata

Assignees

Labels

[Block] Query PaginationAffects the Query Pagination Block - used for pagination within the Query Loop Block[Feature] BlocksOverall functionality of blocks[Status] In ProgressTracking issues with work in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions