Skip to content

Instantly share code, notes, and snippets.

@woogists
Created March 9, 2018 17:00
Show Gist options
  • Select an option

  • Save woogists/d60d46c3a4579c4c28924ca169ddb421 to your computer and use it in GitHub Desktop.

Select an option

Save woogists/d60d46c3a4579c4c28924ca169ddb421 to your computer and use it in GitHub Desktop.
[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
Copy link
Copy Markdown

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

@edumateriales
Copy link
Copy Markdown

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