Gutenberg editor width small when enabling Tagdiv composer

Posted in: Newspaper
Post count: 6

Hi,

The Gutenberg editor is very small when we enable the Tagdiv composer plugin. There seems to be some conflict there in the CSS code.
https://trello-attachments.s3.amazonaws.com/5ecbeeab405f133c66f99eca/5ed12fa5266de22535645b82/5cb0f2c627b741dc6029c8aaf1dbb3fc/Screenshot_2020-05-29_at_15.52.41.png

Post count: 132

Add this code to functions.php

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

Post count: 6

Hi,

It didn’t work. We put it in the child theme functions.php

Post count: 132

Place it directly in the main functions.php, Clear the cache, and check.

Post count: 35449

Hi smaralind,

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!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.