Disable sticky add to card from mobile only (PRESTIGE THEME)

Topic summary

A user needed to disable the sticky “add to cart” button on mobile devices while keeping it visible on desktop for the Prestige theme.

Initial Solution Attempt:

  • A support representative provided CSS code to add to the theme.liquid file after the <head> tag
  • This first attempt removed the button entirely from both mobile and desktop

Corrected Solution:

  • The issue was a typo in the media query breakpoint (7449px instead of 749px)
  • After correcting the pixel value in the CSS code, the sticky add to cart button now displays only on desktop as intended

Resolution: Problem solved successfully with the corrected CSS code.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Does anyone happen to know how to disable sticky add to cart from appearing on mobile, im looking for it to only show on desktop.

Thanks all!

Hi @jakobmb

Could you share your store URL?

https://3aa4fe.myshopify.com/|

Thank you

Hi @jakobmb

You can do that by adding this code to theme.liquid file, after in Online Store > Themes > Edit code


Hello

This seemed to delete it all together, I am looking for it to still show on desktop but not on ‘MOBILE’

Thanks!

My mistake, it should be 749px but I added 7449px. Please update code and check again


That worked, thank you heaps.

1 Like

Happy I could help!

Best Regards,

Dan from Ryviu