首页 > 解决方案 > 停用产品的悬停效果,让“数量”和“购买”按钮始终可见

问题描述

我正在使用 Shop Konado 主题。我正在尝试禁用产品的悬停效果并使“购买”按钮始终在移动版本中可见:https ://prnt.sc/t2ul5l (从我的商店打印)。另一个例子:https ://prnt.sc/luen4q

我尝试在附加的 Wordpress css 中使用以下代码:

html .shop-item:hover .shop-item-image:after {
    background: none;
}

但它没有用。

这是我的商店: https ://www.arteverdeagro.com.br/loja/product-category/todos-os-produtos-in-natura/

谢谢您的帮助

标签: wordpresswoocommerce

解决方案


这应该有效。

.box-hover{
    opacity: 1 !important;
    margin-top:10px !important;
}

推荐阅读