Created
March 25, 2017 09:07
-
-
Save yogoeasy/faf42497492071ff6c59da809b7701d4 to your computer and use it in GitHub Desktop.
WooCommerce將金額設置成「$100」
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-- 隱藏原本金額前面的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