Skip to content

Instantly share code, notes, and snippets.

@davewarfel
Created September 10, 2018 15:33
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 davewarfel/5e7937f479c5f03ab8f9a83e851e9da8 to your computer and use it in GitHub Desktop.
Save davewarfel/5e7937f479c5f03ab8f9a83e851e9da8 to your computer and use it in GitHub Desktop.
Use this code to change the styles of the print certificate button in LearnDash
/**
* This will change the styles of the 'Print Your Certificate' button only.
*
* These styles should be copied & pasted to a child theme or the "Additional CSS"
* area of the WordPress Customizer.
*
*/
/* Update the colors to match your theme, and feel free to add additional
* styles as well (border radius, text transform, etc.)
*/
/* normal button state */
.learndash .learndash_course_certificate .btn-blue,
.learndash .learndash_course_certificate .btn-blue:visited {
background: #000;
color: #fff;
}
/* hover state */
.learndash .learndash_course_certificate .btn-blue:hover,
.learndash .learndash_course_certificate .btn-blue:active,
.learndash .learndash_course_certificate .btn-blue:focus {
background: #000;
color: #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment