Hey guys,
Just a quick question. I’m trying to do 2 things:
#1. Get a full-width add to cart button on all of my product pages on my woocommerce site.
#2. Make it in line with the order quantity button.
Using previous help topics I’ve been able to get both to work on single products but the CSS I’m using doesn’t seem to work with product bundles and with products that have multiple variations.
I included a link to an example of a product that looks perfect in the private area. I’m trying to get the product bundles and products with variations to mimic how that looks.
I’m wondering if I’m missing something or just need to make a small tweak to make it work? Any help would be greatly appreciated.
Here is the CSS that I found from other generatepress topics on the forums that seems to work for single products.
form.cart {
display: flex;
align-items: center;
}
form.cart button.button.alt {
margin-top: 0px !important;
margin-left: 10px !important;
padding: 0;
flex-grow: 1;
height: 70px !important;
width: 140px !important;
}
.woocommerce .quantity a.minus, .woocommerce .quantity a.plus, .woocommerce .quantity input.qty {
height: 70px !important;
min-height: 70px !important;
width: 70px !important;
}