Hello!
I have a question about buttons that appear by default over a product image.
If I put my mouse over a product image I can see two buttons (icons) of golden color:
- How do I change the color of the buttons in Woocommerce? In the whole theme?
- How can I delete one of the icons? I found how to hide the cart icon within setting but what about "product page" link icon?
- How do I edit the icon and text? Can I add more text? For example, instead of cart icon I want "Cart" and instead of link icon I want "Product" text. How can I do it?
Comments
1. To change buttons color, please use:
.woocommerce ul.products li.product .image_links.double a { color: #000; background: #FFF; }2. To remove link icon, you need to use:.woocommerce ul.products li.product .image_links.double a:hover { color: #FFF !important; background: #000 !important; }
.woocommerce ul.products li.product .image_links.double a.link { display: none !important; }3. This requires files customization and couldn't be achieved with custom css unfortunately..woocommerce .image_frame .image_wrapper .image_links.double {
margin-left: -30px;
width: 60px;
}
.woocommerce ul.products li.product a.link { display: none !important; }
.woocommerce ul.products li.product a.add_to_cart_button {
width: 100%;
}