Home › Forums › WoodMart support forum › wishlist along with add to cart button › Reply To: wishlist along with add to cart button
March 21, 2023 at 6:56 am
#452871
Jonatas
Participant
Hello Elise,
I added the code you sent me in the child theme’s functions.php and it worked, thanks for helping me with this question.
I put this css below to adjust the wishlist button, but I wanted to remove the name and leave only the wislist icon, how could I do that?
And is this css that I put correct?
.wd-btn-design-full form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn) {
flex: 0 0 84%;
}
.wd-wishlist-btn.wd-action-btn.wd-style-text.wd-wishlist-icon {
background: black;
padding: 15px;
width: 15px;
--action-btn-color: white;
--action-btn-hover-color: #ce2323;
justify-content: var(--content-align)
}
.woocommerce-variation-add-to-cart>* {
flex: none;
}
.woocommerce-variation-add-to-cart {
gap: 2px;
justify-content: var(--content-align);
}