Created
April 27, 2017 22:02
-
-
Save thomasplevy/0d3072633141d129cfc716740f302385 to your computer and use it in GitHub Desktop.
available for LifterLMS 3.8.0-alpha.1 & higher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line to your functions.php file, please! | |
add_filter( 'llms_email_css', 'my_llms_email_branding' ); | |
function my_llms_email_branding( $css ) { | |
// these are all the defineable rules with their defaults | |
// uncomment and customize whichever you wish to customize | |
// not a dev? confused? I'll be adding branding options to LifterLMS Labs in conjunction with the public release of LifterLMS 3.8 | |
// $css['background-color'] = '#f6f6f6'; | |
// $css['border-radius'] = '3px'; | |
// $css['button-background-color'] = '#2295ff'; | |
// $css['button-font-color'] = '#ffffff'; | |
// $css['divider-color'] = '#cecece'; | |
// $css['font-color'] = '#222222'; | |
// $css['font-family'] = 'sans-serif'; | |
// $css['font-size'] = '15px'; | |
// $css['font-size-small'] = '13px'; | |
// $css['heading-background-color'] = '#2295ff'; | |
// $css['heading-font-color'] = '#ffffff'; | |
// $css['main-color'] = '#2295ff'; | |
// $css['max-width'] = '580px'; | |
return $css; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment