Open hanersk opened 6 months ago
I can limit the number of pages to 3 so that the current page always is in the middle.
We can't change the number of products per page based on mobile/desktop since it's based on Wordpress backend code and it has no access to the user's browser. So we'll need to pick a number that works for all screen sizes.
@keviniamburg Got it! Thanks for clarifying. Let's go with 48 then!
I'm not sure if this logic will be implemented later and for the sake of functionality it just hasn't been accounted for yet, but we're going to display 50 search results per page on desktop, and then 10 for mobile.
[x] First page shows pagination like this where the number one is to the left side and bold. Only 3 pages are shown
[x] And then when you are on page 2 and onwards, it is centered and left arrow is visible