Home Forums Basel support forum Make "Add to Cart" button static

Make "Add to Cart" button static

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4183

    pharmedoc
    Participant

    Hey guys,

    How do you make the “Add to Cart” button static? It only appears when the cursor is hovering over the product. We want to make it visible all the time.

    Thank you!

    #4199

    Artem Temos
    Keymaster

    Hi,

    You can do this by placing the following code snippet into the Custom CSS section in Theme Settings

    .basel-hover-alt .wrapp-swap {
        height: auto;
        line-height: 1;
        overflow: visible;
    }
    .basel-hover-alt:hover .wrapp-swap .swap-elements {
        transform: translateY(0px);
        -webkit-transform: translateY(0px);
        -o-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -sand-transform: translateY(0px);
    }

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)