Home › Forums › CSS › Add to cart button change design › Reply To: Add to cart button change design
October 6, 2018 at 3:42 am
#277341
dani555
Participant
Hello
I found how to do it
thanks for helping
-
Replace you css code with :
.btn-default {
transition: 0.4s;
color: #fff;
background-color: #303030;
text-transform: uppercase;
position:relative;
padding-right:52px;
width:100%
}
.fa-shopping-cart {
position:absolute;
right:0px;
top:0px;
padding:9px 12px 7px 10px;
background:red;
height:100%;
font-size:130%;
}
.product-thumb {
padding-bottom: 0px;
} -
Navigate to catalog/view/theme/oc-light/template/common/header.twig
Search for and replace it with