cipf v0.5.11 added instructions for css class
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user