Liquid, JavaScript, themes, sales channels
The pagination numbers at the bottom of every collection do not emphasize the current page number of that collection.
My store currently uses the Testament theme, how can I bold the number of the current page?
<div id="pagination" class="desktop-12 tablet-6 mobile-3">
<span class="count">{{ 'general.pagination.showing_items' | t }} {{ paginate.current_offset | plus: 1 }}-{% if paginate.next %}{{ paginate.current_offset | plus: paginate.page_size }}{% else %}{{ paginate.items }}{% endif %} {{ 'general.pagination.of' | t }} {{ paginate.items }}.</span>
<div class="clear"></div>
{% if paginate.previous %}
<div class="pagiprev">
<a href="{{ paginate.previous.url }}" class="paginate_prev">
{% render 'snip-icons',
wrapper: '.pagination',
type: 'apollo',
icon: 'left-carrot',
classes: 'pagination--icon vib-center',
size: '10px',
fill: 'var(--link-color)',
hover: 'var(--link-color)' %}
</a>
</div>
{% endif %}
{% for part in paginate.parts %}
{% if part.is_link %}
{{ part.title | link_to: part.url }}
{% else %}
{% if part.title == '…' %}
{{ part.title }}
{% else %}
<span class="current">{{ part.title }}</span>
{% endif %}
{% endif %}
{% endfor %}
{% if paginate.next %}
<div class="paginext">
<a href="{{ paginate.next.url }}" class="paginate_next">
{% render 'snip-icons',
wrapper: '.pagination',
type: 'apollo',
icon: 'right-carrot',
classes: 'pagination--icon vib-center',
size: '10px',
fill: 'var(--link-color)',
hover: 'var(--link-color)' %}
</a>
</div>
{% endif %}
</div>
Solved! Go to the solution
This is an accepted solution.
Hi @Izzi26
I suggest for css.
#pagination.desktop-12.tablet-6.mobile-3 {
font-weight: bold;
}
I hope it help.
This is an accepted solution.
Hi @Izzi26
I suggest for css.
#pagination.desktop-12.tablet-6.mobile-3 {
font-weight: bold;
}
I hope it help.
It worked! Thank you
Please dont forget to hit Like, Thanks!
User | RANK |
---|---|
37 | |
29 | |
12 | |
12 | |
8 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023