Skip to content

Instantly share code, notes, and snippets.

@rali14
Created March 26, 2020 16:31
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 rali14/f59c91c553ecf00adc10d413ecba1ec4 to your computer and use it in GitHub Desktop.
Save rali14/f59c91c553ecf00adc10d413ecba1ec4 to your computer and use it in GitHub Desktop.
Hide Certificates and Points from LearnDash Profile
/*
* Custom CSS
* Added by: LearnDash Customer Support
*
*/
/* Remove points */
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:last-child {
display: none;
}
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:nth-child(3) {
border-right: none;
}
/* Remove certificates */
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:nth-child(3) {
display: none;
}
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:nth-child(2) {
border-right: none;
}
@the-graph-courses-admin
Copy link

the-graph-courses-admin commented Sep 25, 2022

Thanks for posting this! It didn't work exactly as shown for me. Had to use this instead:

/* Remove points */
.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:last-child {
  visibility: collapse;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:nth-child(3) {
  visibility: collapse;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment