cipf v0.5.11 added instructions for css class

This commit is contained in:
asus
2024-04-24 14:15:48 +02:00
parent 2397b24b57
commit 687ac0cf4e
7 changed files with 324 additions and 105 deletions

View File

@@ -8,13 +8,17 @@
/*
* hide all acf fields with the class 'hide_for_fipfrole_cipf'
* also hide the title if class 'hide_group_for_fipfrole_cipf'
* also hide the title if class 'hide_group_title_for_fipfrole_cipf'
*
*/
form#your-profile h2:has(+ .form-table .hide_group_for_fipfrole_cipf) {
form#your-profile h2:has(+ .form-table .hide_group_for_fipfrole),
form#your-profile h2:has(+ .form-table .hide_title_for_fipfrole) {
display: none;
}
form#your-profile .hide_for_fipfrole_cipf {
form#your-profile h2:has(+ .form-table .hide_group_for_fipfrole) + .form-table {
display: none;
}
form#your-profile .hide_for_fipfrole {
display: none;
}