Skip to content

Instantly share code, notes, and snippets.

@salsalabs
Created May 8, 2014 16:35
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 salsalabs/f5c770682fffd421d444 to your computer and use it in GitHub Desktop.
Save salsalabs/f5c770682fffd421d444 to your computer and use it in GitHub Desktop.
Change the content and CSS ID of the "in memory of" prompt.
<!-- Style and script to change the contents of the "in memory of" message
on a Salsa donation page. See (SalsaCommons link here.) -->
<style type="text/css">
#was-in-memory-of {
padding-top: 20px;
font-size: 12pt;
color: red;
}
</style>
<script type="text/javascript">
$(document).ready(function () {
var your_label = "Whatever";
$('strong:contains("in memory of")')
.parent()
.attr('id', 'was-in-memory-of')
.html("whatever")
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment