-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly remove post box headers
- Loading branch information
1 parent
7f39590
commit 3cf99f8
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
/* Remove styling from postboxes (new class added to them with JS) */ | ||
.native-field-postbox .inside { | ||
margin: 0; | ||
padding: 0; | ||
.native-field-postbox .inside { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
/* Remove styling from WYSIWYG editor*/ | ||
.acf-native-field .wp-editor-wrap { | ||
margin-top: -20px; | ||
.acf-native-field .wp-editor-wrap { | ||
margin-top: -20px; | ||
} | ||
|
||
/* Hide default excerpt description */ | ||
.acf-native-field #postexcerpt p { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
.acf-native-field #wp-content-editor-tools { | ||
border: none; | ||
background: none; | ||
.acf-native-field #wp-content-editor-tools { | ||
border: none; | ||
background: none; | ||
background: transparent; | ||
} | ||
|
||
/* Remove styling from publishing actions */ | ||
.acf-native-field #major-publishing-actions { | ||
border: none; | ||
background: none; | ||
border: none; | ||
background: none; | ||
} | ||
|
||
/* Hide postbox header */ | ||
.acf-native-field h2 { | ||
display: none; | ||
} | ||
.acf-native-field h2, | ||
.acf-native-field .postbox-header { | ||
display: none; | ||
} |