Skip to content

Instantly share code, notes, and snippets.

@RiaanKnoetze
Created August 22, 2016 08:51
Show Gist options
  • Save RiaanKnoetze/ff4b99a91d98f35294db673d538798c6 to your computer and use it in GitHub Desktop.
Save RiaanKnoetze/ff4b99a91d98f35294db673d538798c6 to your computer and use it in GitHub Desktop.
Hide Stripe credit card thumbnails that's unavailable in a given country
/* Hide WooCommerce Stripe credit card thumbnails that's unavailable in Australia */
.woocommerce-checkout img[src*="discover"],
.woocommerce-checkout img[src*="jcb"],
.woocommerce-checkout img[src*="diner"] {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment