Archived topic
centered pagination
5 replies · Started by Aleksi on March 17, 2023
Hi,
thanks for GP and GB,
i'm trying to have this pagination model for the blog page, with pagination numbers centered, and next-previous in the sides.
I to set the container justify content to space between,
But not finding how to center the pagination numbers
Hi Aleksi,
1. Select the previous button, set its margin-right to auto.
2. Select the next button, set its margin-left to auto.
Hi Ying,
thanks for the help,
However it's not exactly my question.
Check the pagination in the design file: Next and previous should be completely on the sides, and the numbers in the center.
With this, next and previous buttons are also centered.
Hi there,
Yings instructions are correct, except you have them the wrong way around, the Button on the Left needs the margin-right to be auto and vice versa
Ah yes, it's working now.
Thanks.
Glad to hear that!