Created
June 20, 2025 13:54
-
-
Save ipokkel/f5bb2e3f5b37bb87061bfbc078df9228 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* hide directory search form, company and company role */ | |
body:not(.pmpro-body-has-level-2):not(.pmpro-body-has-level-3) form.pmpro_member_directory_search, | |
body:not(.pmpro-body-has-level-2):not(.pmpro-body-has-level-3) .pmpro_member_directory .pmpro_card .pmpro_member_profile_field-company, | |
body:not(.pmpro-body-has-level-2):not(.pmpro-body-has-level-3) .pmpro_member_directory .pmpro_card .pmpro_member_profile_field-company_role { | |
display: none; | |
} | |
/* show directory search form for level 2 and 3 members */ | |
body.pmpro-body-has-level-2 form.pmpro_member_directory_search, | |
body.pmpro-body-has-level-3 form.pmpro_member_directory_search { | |
display: flex; | |
} | |
/* show company and company role for level 2 and 3 members */ | |
body.pmpro-body-has-level-2 .pmpro_member_directory .pmpro_card .pmpro_member_profile_field-company, | |
body.pmpro-body-has-level-3 .pmpro_member_directory .pmpro_card .pmpro_member_profile_field-company_role { | |
display: inline; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment