Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @sigagan,

    Thanks for reaching out!

    The workaround that has been provided earlier still works but you will have to modify the code a bit – the /wp-content/themes/primer/gutenberg-temporary-style.css file needs to be updated:

    Class .edit-post-visual-editor needs to be replaced with .editor-styles-wrapper.

    Everything else remains the same.

    So the mentioned file should contain the following code:

    
    .editor-styles-wrapper{
    	background-color:#000;
    }
    

    Let me know if this helps! ??

    Kind Regards,
    Milos | GoDaddy

    Thread Starter sigagan

    (@sigagan)

    Great, thanks. It works.

    Is there a better way for this temporary css to inherit theme layouts? I say this because the text font colours and styles are not inherited anymore.

    Hey @sigagan,

    Thanks for your reply. ??

    In order to avoid black text in your editor, you should extend your code:

    .editor-styles-wrapper{
    	background-color:#000;
            color:#fff !important;
    }

    Please note that the Primer theme hasn’t been updated for almost one year – during that period of time, lots of WordPress versions have been released and the Primer is not fully compatible with the latest WP at the moment.

    I hope that the issue with the editor will be fixed once the theme is updated since it is already reported here:
    https://github.com/godaddy-wordpress/primer/issues/316

    Kind Regards,
    Milos | GoDaddy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post WP 5.7 update page editor does not inherit theme background colour’ is closed to new replies.