• I can’t see anything to say that the background for the header on my Posts page shouldn’t just be white like the header on all my other pages.

    In Site Editor, the Index template has two Background style settings, one under Settings and one under Style. Setting them both to white has made the banner itself white, but with black rectangles on the sides even though according to the Site Editor the Header > Group block should go all the way across? The black rectangles don’t show up in the Site Editor.

    The offending style rule seems to be

    .has-foreground-background-color {
        background-color: var(--wp--preset--color--foreground) !important;
    }

    …but why would background-color ever be set to –wp–preset–color–foreground?

    • This topic was modified 2 years, 10 months ago by Oolong.
    • This topic was modified 2 years, 10 months ago by Oolong.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Oolong

    (@oolong)

    I found a workaround by not using the Index template at all – just making a normal page, inserting a Latest Posts block, and inserting some ad hoc styling into ‘Additional CSS’ so that it’s not completely unformatted.

    I still have no idea why the theme was trying to render it in white-on-black in the first place. It doesn’t look like that in the site editor. Is there a well-hidden ‘swap foreground and background colours’ setting somewhere?

Viewing 1 replies (of 1 total)
  • The topic ‘Bafflingly dark header section on posts page’ is closed to new replies.