Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
In your “Additional CSS” section of the dashboard, add this:
.product .product-overlay,
.product .add-to-cart-button {
display: none !important;
}
https://codex.ww.wp.xz.cn/CSS#Custom_CSS_in_WordPress
Andrew that worked perfectly thank you.
I have another question if you don’t mind ?
Now that overlay has gone, I can only select the product by clicking the product description. Is it possible to do this by also clicking the product image ?
Thanks again
Mike
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Without my code above the whole image still wasn’t clickable. Try removing it to see.
Sorry Andrew, I may not have explained myself so well. Didn’t mean that your code had stopped it from working, meant that I now had another issue I need to resolve.
Now that overlay has gone, (problem 1 now fixed , thanks)
(problem 2) – I can only select the product by clicking the product description. Is it possible to do this by also clicking the product image ?
Sorry for the confusion.
Mike
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Use this CSS instead of what I recommended above:
.product .fa-cart-plus {
display: none !important;
}
.product .add-to-cart-button,
.product a.button {
height: 100%;
left: 0;
position: absolute;
top: 7px;
width: 100%;
}
.product a.button,
.product a.button:hover {
background: none;
}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
You are awesome, thank you so much for you help.