jonnykates
5/14/2018 - 3:43 PM

Lepra style donations

Donation tabs

// This is the new one-off-regular giving code - goes in the custom code body at the top
<script src="/BaseUI/v2_4/JS/Custom/DonationTarrifsAndTabs.js"></script>

/*
	SimonM, 
	Tab-style donations
*/
.donationFrequency.frequencySelected {
	background-color: transparent;
}
.donationFrequency {
	padding: 0;
  	margin-top: 0;
  	margin-bottom: 10px;
  	border-bottom: 1px solid #ccc;
  	background-color: transparent;
}
#Single, #Regular {
	display: inline-block;
  	padding: 10px;
  	background-color: #f0f0f0;
  	border-radius: 5px 5px 0 0;
	color: #333;
}
#Single.active, 
#Regular.active {
	background-color: #EE2E24;
  	color: #fff;
}



Knowledgebase article:

https://raisingit.zendesk.com/hc/en-gb/articles/213085603-How-do-you-add-different-donation-amounts-on-Lepra-style-donate-tabs-