Skip to content

Instantly share code, notes, and snippets.

@kabbo508
Created October 15, 2017 18:08
Show Gist options
  • Save kabbo508/f2afce419d423db1ac1bfe56d0daa1ac to your computer and use it in GitHub Desktop.
Save kabbo508/f2afce419d423db1ac1bfe56d0daa1ac to your computer and use it in GitHub Desktop.
Add text before the sale price (ins) and before the regular price (del) In Woocommerce
del .amount::before,
ins .amount::before {
margin-right: 5px;
}
del .amount::before {
content: 'RRP:';
}
ins .amount::before {
content: 'Now:';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment