Home › Forums › Theme support › Animacare – Payment Widget Additions › Reply To: Animacare – Payment Widget Additions
Hi,
ok, lets do that with the mastercard icon. First we set the icon as background image:
li.mastercard.payment_li {
background: url(http://www.inmotionhosting.com/support/images/stories/icons/ecommerce/discover-card.png) center center no-repeat;
background-size: 100%;
}
Then we hide the original picture above with opacity:
li.mastercard.payment_li img {
opacity:0;
}
Thats all! Just replace the url in the first code with the link to your icon / picture. You can insert the codes above in WordPress admin -> Appearance -> Theme Options -> General -> Extra CSS Content.