• My theme has a black background and white text.

    When i add posts in the WordPress admin using Gutenberg using a classic block the text is also white so it can’t be seen.

    Changing the text to dark then changes the text to dark on the website itself meaning it can’t be seen on the website.

    Surely the classic block text should be dark in the admin so it can be seen regardless of the theme set up?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Mel Choyce-Dwan

    (@melchoyce)

    Hey @allan1978, is this a theme you’ve written yourself, or one you’ve downloaded or purchased? It sounds like your theme isn’t registering the background color correctly within its editor stylesheet. If this is a third-party theme, I’d recommend getting in touch with the theme author and filing a bug with them.

    Thread Starter allan1978

    (@allan1978)

    Hi @melchoyce, It’s the the Sydney theme using siteorigins page builder.

    Using developer tools it shows this CSS in sydney_gutenberg_editor_styles.css:

    .editor-block-list__layout, .editor-block-list__layout .editor-block-list__block {
    color: #ffffff;
    }

    so that’s the culprit.

    Moderator Mel Choyce-Dwan

    (@melchoyce)

    Yeah, looks like they either need to add a background color to that editor stylesheet, or remove the text color. Alternately, there could be another theme conflict with SiteOrigins — either way, worth getting in touch with the author of Sydney: https://ww.wp.xz.cn/support/theme/sydney

    In the meantime, you could edit that file directly, with the caveat that your change will be overwritten the next time you update your theme.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘White text using classic block’ is closed to new replies.