wordpress block editor changes to mobile view

Posted in: Newspaper
Post count: 107

Something weird has changed, when I want to edit or add a post in the block editor it opens in full screen view for a second and then switches to a squashed mobile view. Here is how it opens: https://drive.google.com/file/d/1OGFipG8SqyliDnU7ovNXPwg8rGUYv1lT/view?usp=sharing and after a second it switches to this: https://drive.google.com/file/d/1ZlMcT-5_3Pwqiaau3L8OSKNKLEID7-Oy/view?usp=sharing
Not sure if this is related to the theme, the last thing I changed yesterday evening was to activate the sticky menu in desktop and mobile view and this morning I get this mobile view layout, could this be a caching problem?

Post count: 35449

Hi,

If the problem persist, please set this code in functions.php -> wp-content/plugins/td-composer/legacy/Newspaper/functions.php
add_action('admin_head',function() {
echo '<style>.td-gutenberg-editor .editor-styles-wrapper .wp-block {max-width:726px;}</style>';
});

If you are using a child theme, make sure that it is set as in our guide from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Or you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thank you!

Post count: 107

The problem disappeared by itself, this morning the layout set it self the right way, if it happens again I”ll use your suggestion, thx!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.