Site logo

Archived topic

Feather template hover shop page

5 replies · Started by Georgios on March 14, 2022

Viewing posts 1–6 of 6

Hello
Is there any possible way to use the hover efect that template Feather has on its Shop page (when you hover on the product) in the default woocommerce block : Recent products in the frontpage of the site?

Thank you

Hi Georgios,

Try this CSS, just replace thegrey and greenwith your color code:

.inside-wc-product-image:hover:after, .wc-block-grid__product .wc-block-grid__product-image:hover:after {
    background-color: grey;
    opacity: 1;
    right: 0;
}
.inside-wc-product-image:after, .wc-block-grid__product-image:after {
    content: "View Product";
    left: 0;
    right: 50%;
    bottom: 0;
    top: 0;
    color: #ffffff;
    position: absolute;
    font-weight: 100;
    padding: 45% 10% 0 10%;
    text-align: center;
    opacity: 0;
    border-left: 6px solid green;
    transition: all 0.5s ease;
}

Thank you
it works but not in the front page for the woocommerce block : recent products

is there a way to have this efect on this block as well?

Works fine!!!
Many thanks!:)

No problem :)

This archived topic is closed to new replies.