How to remove the gear icon on the “Buy” button in a product with options

15/02/2019
by alexbranding team


Add to your castom color scheme (personal style file, on the screen is specified as a filestyles/data/My_colors.less) one of the options below (CSS).


To remove the gear icon: 

.ty-grid-list__item .ty-btn__primary:before, .ty-product-list .ty-btn__primary:before, .ty-compact-list .ty-btn__primary:before {
display: none;
}

To change the gear icon to the cart: 

.ty-grid-list__item .ty-btn__primary:before, .ty-product-list .ty-btn__primary:before, .ty-compact-list .ty-btn__primary:before {
content: “\f10f”;
}
Comments

No posts found

Write a message