Gutenberg editor CSS issue

Posted in: Newspaper
Post count: 623

Something is overwriting Gutenberg CSS
Output: https://prnt.sc/pt6uq1
Code: https://prnt.sc/pt6tu1 , https://prnt.sc/pt6wfm

Post count: 18283

Hello !

We are sorry for the inconvenience !

We have seen this issue only once and now so it is uncommon, Can you please try and check if this issue still persists on a default theme ?

Thank you !

Post count: 623

I am facing this issue only on my one site. I am not using any predesigned demo on the site. (Not imported any demo on the website)

Post count: 18283

Hello !

It would be very helpful for us If you could change the theme just to check this issue. So we can figure out if this comes from us or not.

Thank you for your understanding !

Post count: 623

The problem is from Newspaper theme. The editor works well with default theme Twenty Nineteen. Refer: https://prnt.sc/pt8oxu

Post count: 18283

Hello !

Thank you for this information. We will start investigating this issue and as soon as possible we will offer a fix for it.

Have a nice day !

Post count: 623

Okay, I’ll be waiting.

Post count: 623

/* custom css */
.td-gutenberg-editor .editor-styles-wrapper .wp-block {
max-width: 334px;
}

This is the code that’s overwriting correct CSS.

Post count: 27

I have the exact same problem!
Is there a solution?

Cheers,
Gregor

Post count: 27

For me this was fucking it up:

error

Post count: 132

any updates on the issue?

Post count: 18283

Hello !

Please add this code in functions.php:

add_action('admin_head',function() {
echo '<style>.td-gutenberg-editor .editor-styles-wrapper .wp-block {max-width:726px;}</style>';
});

Here: https://www.screencast.com/t/muT8DYFD9SY

Thank you !

Post count: 132

Thanks Vlad. It worked.

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