Skip to content

Instantly share code, notes, and snippets.

@yogoeasy
Created March 25, 2017 09:07
Show Gist options
  • Save yogoeasy/faf42497492071ff6c59da809b7701d4 to your computer and use it in GitHub Desktop.
Save yogoeasy/faf42497492071ff6c59da809b7701d4 to your computer and use it in GitHub Desktop.
WooCommerce將金額設置成「$100」
/*-- 隱藏原本金額前面的NT$ --*/
.woocommerce-Price-currencySymbol {
display: none;
}
/*-- 增加「$」這個符號到金額前面 --*/
span.woocommerce-Price-amount.amount::before {
content: '$';
}
/*-- by 優易教學網 https://www.yogoeasy.com --*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment