Remove background image from Gutenberg editor on block theme
-
I currently use a classic theme, but I am planning to switch to a block theme by building a child theme of Twenty Twenty-Four.
The website has a content area in the center of the page with a background image that covers the entire viewport (not just the masthead). So, my page templates cover the background image with header, content, and footer areas that all have a background color that hides the background image. It’s less common today, but it used to be a very common design pattern for a website. The background image is only visible on the sides and at the top (and very little of it is visible on mobile).
Everything is working great on the live website, but the Gutenberg editor is a problem.
When I begin a new post, the editor shows the background image and then a text area without a background color. Even if I were to live with the busy background, the text is the wrong color and cannot be read at all. The only way to make the editor useable is to open the template menu and enable “show template” – which is honestly rather obnoxious because the editor becomes cluttered with the entire website navigation and more.
Is there anyway (even code or a plugin) to override displaying the background image in the Gutenberg editor and/or change the font color? Classic themes let you style the editor separately, but that doesn’t seem to be a regular feature of a block theme.
- You must be logged in to reply to this topic.