Archived topic
Invisible Woocommerce "Cart" button
6 replies · Started by Anthony on February 28, 2020
Not even sure this is a GeneratePress issue but hoping for some advice. I seem to have an invisible cart button appear (or not) in the footer of mobile devices on a site I'm working on. It makes the content below Term, Cookies, Privacy inaccessible. Touching in that area takes to the cart. I'v set it (#wc-sticky-cart-panel) to display none, which disarms it but have no idea where its coming from! Using the latest version of GP and the Niche theme.
Any help with this would be much appropriated.
Thanks, Anthony
Hi there,
Don't believe I'm seeing the issue.
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know :)
Hi Leo,
Bug is on Site library Niche theme also, click in the copy-write, terms area and the invisible button takes to the cart page. You need to be viewing mobile device, thought code persists in desktop but seems inactive. I've added "display none" on my client site so you wont see the effect on the URL I provided.
Getting late here (1 am as I type) so you may not hear from me again tonight!
Thanks, Anthony
Hi there,
looks like the bug we were meant to patch in GPP 1.9.
Tom provides a CSS fix for it here:
https://generatepress.com/forums/topic/back-to-top-issue/#post-1112484
We'll get it fixed in 1.10
Hi David,
That's great, thought it was something i had done for a while, couldn't figure it out. Thanks for looking into it.
You're welcome - fix should be in the next update when the CSS won't be required.
This is fixed in 1.10.0.
For now, you can do this:
.add-to-cart-panel:not(.item-added):not(.show-sticky-add-to-cart) {
pointer-events: none;
}