Customizing

You can customize the color of the button and color of the text on the button by specifying JMPAY_DONATION_BUTTONCOLOR and JMPAY_DONATION_TEXTCOLOR.

<script>
var JMPAY_DONATION_WALLET_EVM = '0xd0545256AcaA8a20bDC077c0D104fc84dcDc4289';
var JMPAY_DONATION_WALLET_TRON = 'THgyXyKoPFxvMri6A8r8P4nSMPFrUbbUkz';
var JMPAY_DONATION_BUTTONCOLOR = '#000';
var JMPAY_DONATION_TEXTCOLOR = '#FFF';
</script>
<script src="https://pay.just.money/assets/js/donateButton_1.0.js"></script>

If the button doesn't look good on your site you can also define JMPAY_DONATION_BUTTONSTYLES varible with any custom styling. Example below:

<script>
var JMPAY_DONATION_WALLET_EVM = '0xd0545256AcaA8a20bDC077c0D104fc84dcDc4289';
var JMPAY_DONATION_WALLET_TRON = 'THgyXyKoPFxvMri6A8r8P4nSMPFrUbbUkz';
var JMPAY_DONATION_BUTTONSTYLES = {
  backgroundColor: '#000',
  color: '#FFF',
  display: 'inline'
};
</script>
<script src="https://pay.just.money/assets/js/donateButton_1.0.js"></script>

Last updated