Skip to content

Commit

Permalink
fix: properly remove post box headers
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusforsberg committed May 15, 2023
1 parent 7f39590 commit 3cf99f8
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions css/acf-native-fields.css
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;
}

0 comments on commit 3cf99f8

Please sign in to comment.