Skip to content

Instantly share code, notes, and snippets.

@ericnicolaas
Last active October 6, 2020 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericnicolaas/731372aa3e56b1acb6904609064adcfc to your computer and use it in GitHub Desktop.
Save ericnicolaas/731372aa3e56b1acb6904609064adcfc to your computer and use it in GitHub Desktop.
Add currency symbol in custom amount field
.custom-donation-amount-wrapper::before {
content: "$";
display: block;
position: absolute;
bottom: .5em;
left: 1em;
color: #bbb;
padding: 6px 0 6px 7px;
font-size: 1em;
}
.custom-donation-amount-wrapper label {
display: block;
}
.charitable-donation-form .custom-donation-input {
text-indent: 7px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment