CAPITAL THEME : HOW TO REMOVE THE NEXT BUTTON ON THE LAST PAGE

kieutieboutiqu1
Visitor
1 0 0

When I reached the end of the product lists,  there is still a next button but there are NO MORE  pages. THIS IS THE LAST PAGE OF MY PRODUCT LISTS. 

 

How do I remove the next button and put maybe a last button on the previous page before the last page. 

 

I reached out to capital (e/ght) support and they asked me to reach out to a developer to fix this. They said they cannot support this issue.

 

Can you provide the code?  I have a friend who can do this if there is a code on how to fix this.  Thank you.

Replies 3 (3)
Dan-From-Ryviu
Shopify Partner
5570 1021 1053

Hi, can you send me your store link to check?

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

makkaomakka
Shopify Partner
875 170 182

Hi @kieutieboutiqu1 ,

 

To remove "Next" and "Previous" fom the pagination when it is not clickable, please add the below codes at the end of base.css file.

 

.pagination-next:not(:has(a)), .pagination-previous:not(:has(a)){
    visibility: hidden;
}

 

Verification:

makkaomakka_0-1696387956772.png

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Mangit

 

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

kieutieboutique
Visitor
2 0 1

I will share this to my friend who is also a developer and see if he can fix it with this code. Thank you and I will come back and mark it as resolved once he tells me it is fix if not, I will post another message here in our conversation. Thank you so much.