Home › Forums › Support › Back to top issue This topic has 11 replies, 3 voices, and was last updated 4 years, 3 months ago by Tom. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts December 22, 2019 at 5:11 pm #1111748 Pedro Hello! I don’t know why, but for some strange reason when I click the Back to top button on the product page, it adds the product to the cart. This happens in the mobile version of my site. December 22, 2019 at 5:27 pm #1111758 LeoStaff Customer Support Hi there, Can you confirm that you are using the latest GP premium version 1.9.1? Let me know π December 22, 2019 at 5:44 pm #1111765 Pedro Off course, i use all the last version December 22, 2019 at 5:55 pm #1111770 LeoStaff Customer Support Ahh I think that’s a bug in SVG icon. What happens if you use font icon instead? https://docs.generatepress.com/article/svg-icons/ Let me know π December 22, 2019 at 6:17 pm #1111777 Pedro Hi leo! I made the change but the problem continued December 23, 2019 at 9:42 am #1112484 TomLead Developer Lead Developer Thought we had this fixed in 1.9 – sorry about that. Try this CSS: @media (max-width: 768px) { .add-to-cart-panel:not(.item-added):not(.show-sticky-add-to-cart) { pointer-events: none; } } Let me know π December 23, 2019 at 2:29 pm #1112704 Pedro Hello Tom! The code corrects the problem with the button. However it makes the Sticky add to cart disappear. December 23, 2019 at 6:31 pm #1112795 TomLead Developer Lead Developer Hmm, it shouldn’t – can you add the code so I can see the issue? December 23, 2019 at 6:57 pm #1112805 Pedro What happens is that my site is in production, and adding that code would affect the user experience to my visitors. December 23, 2019 at 7:24 pm #1112817 TomLead Developer Lead Developer Can you try the updated CSS?: https://generatepress.com/forums/topic/back-to-top-issue/#post-1112484 December 23, 2019 at 8:29 pm #1112839 Pedro Hello Tom! This new code corrects the problem. Thank you! If a new version of GP is published and corrects this problem. Should I delete the code you just gave me? December 24, 2019 at 9:34 am #1113388 TomLead Developer Lead Developer Yes, you’ll be able to remove that CSS in GPP 1.10. Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In