Closed ofer777 closed 5 years ago
@ofer777 Can you post the URL of your site, so that I can take a look at it? I might have to overwrite some theme related CSS of the Astra theme.
Also I try before on βhelloβ theme and was the some problems of sizes.
Best Regards,
Ofer Hai
Hello @ofer777,
Please add the following CSS to your site:
.woocommerce .quantity input[type=button],
.woocommerce .quantity input[type=number],
.woocommerce div.product form.cart .button.single_add_to_cart_button {
height: 40px;
padding: 5px 40px;
vertical-align: middle;
}
This should solve the styling issue.
My plugin doesn't add any stylings to the buttons though, thus, the styling issues are caused both by the Astra and Hello themes and it's quite common that themes overwrite the default WooCommerce styling which leads to these side effects.
Thanks for your reply!!!!
Perfect, I change it on the cart page, but how can I add the css on the all products pages, any idea?
Regards,
Ofer Hai
Its ok, I add it to the css of ASTRA - perfect π€
Regards,
Ofer Hai
I just looked up http://speedybox.co.uk/ and it seems to look as expected both on the product and cart page. Thus, this issue is solved and this can be closed, correct?
Yep, thank you π
Best Regards,
Ofer Hai
Great to hear, @ofer777! In this case, I'll close this issue for now. π
Hi Niels,
Any idea how to add the quantity buttons to the shop page?
Regards,
Ofer Hai
Not really, as I'm not familiar with the ASTRA theme. I would ask the theme developers on this issue. A quick solution would be to replace the Add to cart
button with a View product
button. Adding the quantity buttons to the shopping page itself might be more challenging and might also affect the responsive design of your shopping cart.
Thanks for the quick reply!
Best Regards,
Ofer Hai
Hi,
Can you please help me to check as the plugin SMNTCS WooCommerce Quantity Buttons not working with Advanced Product Quantity ( https://woocommerce.com/products/advanced-product-quantity/)
I want to make the unit as 0.5 and not 1 but its not working β¦
You can check my test page on https://we-perfect.com/product/cutting-knife/
Regards,
Ofer Hai
@ofer777 The test page https://we-perfect.com/product/cutting-knife/ cannot be accessed at the moment. Also, this issue does not seem to be related with the original issue Button is too big on Astra theme
. Please create a separate ticket for this issue. Thanks! π
can you please help how to resize the button?