Blog header background color

Topic summary

A user wants to change their blog header background color to light grey (hex: FAFAFA) to match another theme’s styling. Currently, their blog header displays as all white.

Attempted Solution:
Another user suggested adding custom CSS to the theme.liquid file before the </head> tag, but this solution did not resolve the issue.

Current Status:
The problem remains unresolved. The user provided their specific blog page URL for reference, indicating they need a working CSS solution to target just the blog header section with the desired background color.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

On the theme I’m using, it shows a light grey in the header section of the blog like this:

I would like mine to appear like that too, but it is currently all white. Is there a custom CSS I can add to the blog pages, so just that part has the light grey background? hex: FAFAFA

Thanks!

Here’s my site: https://g8e45qhpuecinkpn-8134245.shopifypreview.com

Hi @JayKay89 ,

Go to Online Store → Theme → Edit Code.

Open your theme.liquid, paste the code just before the tag.


Thanks!

hi @websensepro - unfortunately, that didn’t fix it.

Here’s the specific page I’m talking about https://tothestars.media/blogs/press-and-news/vox-ufos-are-real-that-s-the-easy-part-now-here-s-the-hard-part