- This topic has 20 replies, 6 voices, and was last updated 4 years, 6 months ago by
Ying.
-
AuthorPosts
-
September 15, 2021 at 6:47 pm #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.
September 15, 2021 at 11:31 pm #1932169Elvin
StaffCustomer SupportHi 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. 😀
September 16, 2021 at 9:26 am #1932857Matt
Resolved.
September 16, 2021 at 10:27 am #1932914Leo
StaffCustomer SupportStrange. This is what the editor looks like in the original Dance install:
https://www.screencast.com/t/EtFLvegOAs 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 🙂
September 16, 2021 at 12:44 pm #1933054Matt
Resolved.
September 16, 2021 at 1:55 pm #1933100Leo
StaffCustomer SupportAny chance you can start a staging site and give us access?
Thanks.
September 16, 2021 at 2:34 pm #1933127Matt
Resolved.
September 16, 2021 at 2:41 pm #1933131Leo
StaffCustomer SupportSorry I think there are some issues between WP5.7 vs WP5.8.
I’ll do some more digging and report back 🙂
September 16, 2021 at 2:44 pm #1933132Matt
Resolved.
September 16, 2021 at 2:54 pm #1933134Leo
StaffCustomer SupportLooks 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 🙂
September 17, 2021 at 1:27 pm #1934151Matt
Resolved.
September 17, 2021 at 1:29 pm #1934153Leo
StaffCustomer SupportIf 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.
September 17, 2021 at 2:46 pm #1934208Leo
StaffCustomer SupportActually I found a better workaround.
Simply go to Customizer > Colors > Content > Background and make sure the field is empty:
https://www.screencast.com/t/AsvB9FALNeLqThat should fix the issue without the snippet.
Let me know 🙂
September 20, 2021 at 8:21 am #1936834Matt
That workaround worked. Thanks!
September 20, 2021 at 9:26 am #1936906David
StaffCustomer SupportHi there,
would you mind raising a new topic so this one can be marked as resolved.
-
AuthorPosts
- You must be logged in to reply to this topic.