Shopify themes, liquid, logos, and UX
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 </head> tag.
<style>
.body-template-blog main#MainContent {
background: #FAFAFA !important;
}
</style>
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-...
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025