Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Can pagination be rendered in blocks of 10 page numbers?

Started by John Edwards 4 years ago · 1 replies · 655 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 David Garner, 5 years ago
15 1138 3 days ago
Themes & Styling · by MarkP, 3 weeks ago
3 220 2 weeks ago
Themes & Styling · by TomW, 3 weeks ago
0 138 3 weeks ago
Themes & Styling · by themetman, 4 weeks ago
1 233 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 357 3 weeks ago