Site logo

[Resolved] Text is White in WordPress backend content/post editor

Home Forums Support [Resolved] Text is White in WordPress backend content/post editor

Home Forums Support Text is White in WordPress backend content/post editor

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #1932020
    Matt

    Whenever I make a new post or page the text is white and the background is white in the backend of WordPress, making the text invisible unless I highlight it. How can I get the text to show up as black in the backend when editing my post and descriptions?

    I’m using the “Dance” template from the site library.

    #1932169
    Elvin
    Staff
    Customer Support

    Hi Matt,

    Do you have custom editor stylesheet added to your site?

    Any chance you could provide us backend access to check what’s going on w/ the editor?

    You can use the private information text field to provide the site details. 😀

    #1932857
    Matt

    Resolved.

    #1932914
    Leo
    Staff
    Customer Support

    Strange. This is what the editor looks like in the original Dance install:
    https://www.screencast.com/t/EtFLvegO

    As you can see, the body background color should reflect in the editor so the white text shows.

    Somehow this is not the case for you. Can you disable all plugins except GP premium to eliminate any conflicts first?

    I haven’t actually seen this issue before.

    Let me know 🙂

    #1933054
    Matt

    Resolved.

    #1933100
    Leo
    Staff
    Customer Support

    Any chance you can start a staging site and give us access?

    Thanks.

    #1933127
    Matt

    Resolved.

    #1933131
    Leo
    Staff
    Customer Support

    Sorry I think there are some issues between WP5.7 vs WP5.8.

    I’ll do some more digging and report back 🙂

    #1933132
    Matt

    Resolved.

    #1933134
    Leo
    Staff
    Customer Support

    Looks like WP changes how the background color is handled from WP5.7 to WP5.8.

    Two workarounds for now:

    1. You can add this PHP snippet to remove all preview in the block editor:

    add_action( 'after_setup_theme', function() {
        remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_backend_block_editor_assets' );
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    2. Choose a solid background color in Customizer > Colors > Content > Background. It’s currently transparent.

    This way the white text would show in the editor with the solid background color.

    Then set it back to transparent once you are done editing.

    Neither solution is perfect but should serve as a temporary solution for now.

    Let me know if this helps 🙂

    #1934151
    Matt

    Resolved.

    #1934153
    Leo
    Staff
    Customer Support

    If I use the PHP snippet to remove the post editor then how will I be able to type/make post?

    The snippet doesn’t remove the post editor – it removes the “live preview” option in the post editor.

    Give it a shot then you should see what I mean.

    Is Generatepress working on a more viable permanent solution? Or will we have to wait until the next official WordPress update?

    We are looking into this.

    #1934208
    Leo
    Staff
    Customer Support

    Actually I found a better workaround.

    Simply go to Customizer > Colors > Content > Background and make sure the field is empty:
    https://www.screencast.com/t/AsvB9FALNeLq

    That should fix the issue without the snippet.

    Let me know 🙂

    #1936834
    Matt

    That workaround worked. Thanks!

    #1936906
    David
    Staff
    Customer Support

    Hi there,

    would you mind raising a new topic so this one can be marked as resolved.

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