How to Fixed WordPress 5.0 Gutenberg Floating Theme Page Options

If you recently updated your WordPress to 5.0 and got a problem with a floating page options from your theme functions. The new updates probably doesn’t compatible with these theme meta options that makes the floating theme options in gutenberg editor.

To fix temporarily fix this issue, just add this codes to your functions.php in your theme editor.

add_action('admin_head', 'my_custom_fonts'); 
function my_custom_fonts() { 
  echo '<style> .edit-post-visual-editor{ display:grid; } </style>'; 
}

This will add a new css that will change the class edit-post-visual-editor display property into grid from block. Doing this the theme options will have an idea on the height of the editor and it will now move to the bottom of the editor post.

Leave a Comment

trabzon escort yalova escort Samsun escort izmit escort nazilli escort