Home Forums Theme support Animacare – Payment Widget Additions

This topic contains 5 replies, has 2 voices, and was last updated by  7Theme Support 6 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Is it possible to add Discover Card as an option for the Payments widget?

    Hi,

    I’m sorry, at the moment its not possible because the icon set we’ve used for the widget does not have an icon for Discover Card. If dont need all the other icons, you can replace one of the unused icons with an icon for the Discover Card with css

    Ok, how/where would I do that? Thanks!

    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.

    Worked perfectly. Thanks!

    You’re welcome!

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

You must be logged in to reply to this topic.