Site logo

[Resolved] Feather template hover shop page

Home Forums Support [Resolved] Feather template hover shop page

Home Forums Support Feather template hover shop page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2154581
    Georgios

    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

    #2154606
    Ying
    Staff
    Customer Support

    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;
    }
    #2154612
    Georgios

    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?

    #2154631
    Ying
    Staff
    Customer Support

    Yes, I’ve updated the CSS here:
    https://generatepress.com/forums/topic/feather-template-hover-shop-page/#post-2154606

    Let me know if this works 🙂

    #2154642
    Georgios

    Works fine!!!
    Many thanks!:)

    #2154647
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.