Back button and view all doesn't work on mobile

I created a back and view all button using the following code. On computer everything works well. On mobile not so much.

Show More

View All Products

View on PC

On mobile view is broken:

https://pyhvpocia9qfqrb3-68796285242.shopifypreview.com

How can I make it to work on both PC and mobile? Thanks

1 Like

Hi @Andy106
you can try to replace with this code


View All Products

1 Like

@Andy106

can you please share your main product section code son i will check and upate

Hello @Andy106 ,

It’s GemPages support team and glad to support you today. I would like to give you the recommendation to support you.

Could you please try using this code to replace your old code:

Go Back
View All Products

If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

Hi @Andy106 ,

Please change all code:


View All Products

Hope it helps!

Thanks everyone for the reply!

All solutions work well, I have used @ExpertRookie solution as it works best!

Thanks again.

1 Like