Browse Source

fix rm adminbar for Gutenberg

windhamdavid 6 years ago
parent
commit
444db885c6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      inc/tweaks.php

+ 2 - 0
inc/tweaks.php

@@ -29,6 +29,8 @@ function dw_hide() {
     #footer {display:none;}
 	#contextual-help-link-wrap {display: none;}
 	#wpadminbar {display: none;}
+	.edit-post-header {margin-top:-30px;}
+	.edit-post-sidebar {margin-top:-30px;}
 	body.admin-bar #wpcontent, body.admin-bar #adminmenu {padding-top:0;}
 	#wp-content-editor-tools{top:0 !important;position:relative!important;}
 	#ed_toolbar{top:0px !important;}