Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WooCommerce Currency Converter Widgets] Using country flags instead of country codes.
a[data-currencycode="USD"] {
background-image: url('http://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg') !important;
background-size: 60px !important;
width: 30px;
background-repeat: no-repeat;
font-size: 0;
height: 20px;
}
@edumateriales

This comment has been minimized.

Copy link

@edumateriales edumateriales commented Aug 6, 2020

Hello, I tried to used but I received this error in the line 1
syntax error, unexpected '=', expecting ']'

@edumateriales

This comment has been minimized.

Copy link

@edumateriales edumateriales commented Aug 6, 2020

It would be great if someone can help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment