I am trying to customize the numbers for the default_pagination filter. I need to show a box around the numbers. So for this, I need to create a custom class for the numbers, and change the style in CSS. But I can’t figure out how to do it. A bit of help will be much appreciated.
This is my code:
{% paginate collection.products by 5 %}
{% for product in collection.products %}
{% endfor %}
{{ paginate | default_pagination: next: '>', previous: '<' }}
{% endpaginate %}