Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Can pagination be rendered in blocks of 10 page numbers?

Started by John Edwards 4 years ago · 1 replies · 440 views
4 years ago

It would be nice to know if it's possible to get the pagination to render in blocks of 10?

last edited 02/14/23 by pamtbaau
4 years ago

@jzedward,

On the outer div of the page numbers, you could use a grid. For example the following will position all children in 10 columns with each child having the same width.

YAML
display: grid;
grid-template-columns: repeat(10, 1fr);
last edited 02/14/23 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by stuart young, 1 month ago
3 441 1 month ago
Themes & Styling · by Sebadamus, 1 month ago
5 457 1 month ago
Themes & Styling · by martynfoster735, 2 months ago
1 441 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 466 2 months ago
Themes & Styling · by Slebeig, 3 months ago
4 594 3 months ago