Archived topic
dark text against dark background in sidebar and footer edit pages
14 replies · Started by Laura Stella on January 23, 2022
My overall blog has a dark photo background and light text. My content's background is transparent so the photo comes through, and my sidebar and footer backgrounds have a light background with dark text. My edit page drops the sidebar and footer background, putting dark text against the dark photo, which I can't see to edit.
Thanks for helping
Laura
Hi Laura,
Can you share a link to the page w/ this issue? So we can inspect it and see what can be done w/ the text & background contrast. :D
See box for private information
Can you provide temporary backend access so we can check how it looks like when you try to edit it?
You can use the private information text field to provide the details -
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Also, can you provide a screenshot of the occurrence of the issue? So we have full context of what we're supposed to look at.
Let us know. Thanks!
Screenshots below.
How do I provide backend access?
Hi there,
simplest solution today maybe to disable the Block Widgets and use the classic widgets.
This article explains how:
https://docs.generatepress.com/article/disable-the-block-editor-in-widgets/
I don't remember how to get to where to put that, but more, I'm scared to do that. Do you know why
this is happening?
Hi Laura,
You can add PHP code using one of the methods introduced in this article:
https://docs.generatepress.com/article/adding-php/
Do you know why this is happening?
It's because one of the updates of WP.
In the article, it says "When working with PHP, you want to make sure you have access to your server via FTP or File Manager (through your hosting control panel". I don't know what that means, and all I know about my host is that it's Flywheel, but don't know that I've ever seen its control panel.
I did a google search for you, this should be it: https://getflywheel.com/wordpress-support/accessing-your-site-via-sftp/
Sorry, I had to step away for a few days. Does one add PHP in the "Simple CSS" section of the customization menu?
If not, where? Then what is the PHP I should put there?
Thanks!
1. The PHP code is showing in the link that David provided here:
https://generatepress.com/forums/topic/dark-text-against-dark-background-in-sidebar-and-footer-edit-pages/#post-2091539
2. This is how you add PHP (Do not use Simple CSS or customizer >additional CSS, these are for CSS code): https://docs.generatepress.com/article/adding-php/
Ok, I've downloaded the plugin Code Snippets, so if all had gone well, I'd be putting the PHP for disabling block editor in widgets, even though I read something that said classic editor won't be supported for much longer and I'l have to figure out something else.
But all did not go well, and while I was looking for the CSS button and reminding myself what colors I had originally put for body backgrounds, content backgrounds, widget backgrounds, etc, I ended up doing something that erased the content background, but only for the edit page. The blog itself, the live page looks fine. But when I go to edit, just like I have dark text over dark background(that should be light) in the sidebars, I now have a light text over a white background (that should be dark). There are no customization areas that apply to what the editing pages should look like, only the live page.
I have no idea what I did, because I didn't find out I'd done it until I got out of the customization menu.
I should have said I now have a light text over a white background... IN THE CONTENT EDIT PAGE
IN THE CONTENT EDIT PAGE
Do you mean the post editor? I don't see how it would happen.
even though I read something that said classic editor won’t be supported for much longer and I’l have to figure out something else.
Classic editor is already not supported.
If you remove the PHP code, you should be able to get block widgets back.
Maybe try build your sidebar with blocks? You should be able to set text color within blocks.