Notes on this example

You can override the default CSS by converting CSS to JSON format and including it using the 'data-donately-custom-css' attribute.

Here is a handy tool for converting your CSS to JSON

Here is a handy tool for validating your JSON CSS

Excape single quotes with the HTML character entity & # 39;

Here is an example of what valid CSS as JSON looks like:

{
   ".donately-donation-form":{
      "background-color":"#688B9C",
      "padding":"4px"
   },
   "label.donately-label, .donately-custom-fields section":{
      "color":"#fff",
      "font-family":"sans-serif"
   },
   ".donately-secure-fields label.donately-label":{
      "color":"#688B9C"
   },
   ".donately-donation-amount":{
      "margin-top":"6px"
   },
   ".donately-btn":{
      "background-color":"#113A4E !important"
   },
   ".donately-btn:hover":{
      "background-color":"#285469 !important"
   },
   ".donately-btn.donately-submit":{
      "text-shadow":"none",
      "font-family":"sans-serif",
      "text-transform":"uppercase",
      "font-size":"12px",
      "letter-spacing":".2em",
      "padding":"12px 40px",
      "position":"relative",
      "left":"150px",
      "margin-bottom":"20px"
   },
   "label.donately-label[for=donately-one-time-donation]":{
      "visibility":"hidden"
   },
   "label.donately-label[for=donately-one-time-donation]:after":{
      "content":"'Singola donazione'",
      "left":"-115px"
   },
   "label.donately-label:after":{
      "visibility":"visible",
      "display":"inline-block",
      "position":"relative",
      "text-align":"left"
   }
}