This topic has 4 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
Hi,
I have changed the size and the styling on my buttons on the single product page.
I found that I can adjust the button size and font size to make it match on the Add to Cart button. On the Add to Wishlist button the text still seems to have a vertical-align to the top.
I tried to apply vertical-align:middle for both classes but I can’t get it to work.
It’s possible I am not applying the class to the text but to the button but I’m not sure.
Please advise how I can achieve identical button size and text.
Thank you
Hello,
Please try to delete these parts of your custom code https://prnt.sc/hsdled https://prnt.sc/hsdlmv and add this one:
.single-product-page .product-info .single_add_to_cart_button, .woocommerce .add_to_wishlist.button.alt {
height: auto !important;
padding: 11px 20px !important;
line-height: 1 !important;
font-size: 16px !important;
}
Regards
That worked very well, thank you.
You’re welcome!
Have a nice day.
Regards
The issue related to '‘Align-vertical: middle for Add to Cart and Add to wishlist on single product pag’' has been successfully resolved, and the topic is now closed for further responses