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.

Comments 0

Your email address will not be published. Required fields are marked *

How to Fixed WordPress 5.0 Gutenberg Floating Theme Page Options

log in

Captcha!

reset password

Back to
log in
Choose A Format
Gif
GIF format