Add to cart button covered

Multipurpose WordPress Theme Forum Support
GK User
Wed Sep 20, 2017 7:55 am
Hi,
Problem with single product - the Add to cart button is covered in Woocommerce Membership info box.

Button and box jumps into place when the screen is (extremely) narrow (mobile, Ipad), but on a wide screen you can't click the Add to cart.

I guess it's a css-problem - but what?
Peter
User avatar
Fresh Boarder

Joshua M
Wed Sep 20, 2017 8:18 am
Hi,
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it?
User avatar
Moderator

GK User
Thu Sep 21, 2017 12:03 pm
Did you get my PM?
Peter
User avatar
Fresh Boarder

Joshua M
Mon Sep 25, 2017 8:10 am
Yes, but unfortunately I'm not able to check your website, because Wordfence limits:
"Access from your area has been temporarily limited for security reasons."
User avatar
Moderator

Joshua M
Tue Sep 26, 2017 7:58 am
Please try to add the following custom css code (Appearance -> Customize -> Additional CSS section):
Code: Select all
.single-product .site-content .wc-memberships-member-discount-message {
   clear: both;
   margin-top: 20px;
}

.single-product .product-type-simple .single_add_to_cart_button,
#content div.product.product-type-simple form.cart div.quantity {
   display: block;
}

.single-product .product-type-simple .cart {
   margin-right: auto;
   float: none;
   display: inline-block;
}
User avatar
Moderator

GK User
Tue Sep 26, 2017 8:06 am
Perfect, thanks!!
Peter
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.