Editing default blog/blog post colours

Editing default blog/blog post colours

junglecatclub
Excursionist
39 0 9

Hello, does anyone know why there is no option to set the colour scheme on a blog / blog post template?

 

These seems really strange/annoying i'm not sure if im missing something

 

But if not can an anyone please supply me with a code that will set the background colour and ALL text to the same shade

 

Background will be #EEE9DD

Text will be #353535

 

thank you!

Replies 12 (12)

B2Bridge
Trailblazer
365 75 94

Hi @junglecatclub 
Can you kindly share your store link (with the password, if any) and details of your problem (screenshot/ record) with us? We will check it and suggest you a solution if possible.

B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

junglecatclub
Excursionist
39 0 9

https://jungle-cat-club.myshopify.com/

in the blog post template edit mode there is no option anywhere to select the colour scheme

 

Screenshot 2025-02-25 at 11.52.39.png

junglecatclub
Excursionist
39 0 9

and currently background and text are both white..

rajweb
Shopify Partner
827 71 157

Hey @junglecatclub ,

You're right—Shopify's blog and blog post templates don't always have built-in color scheme settings like other sections. However, you can manually apply your desired background and text colors using custom CSS.

Follow these steps:

1. Online store > Themes > Edit Code

2. Open theme.liquid (found in the Layout folder)

3. Scroll down to find the closing </head> tag

4. Add the following CSS just above </head>:

<style>
  /* Set background and text colors for blog and blog posts */
  .template-blog, .template-article {
      background-color: #EEE9DD !important;
      color: #353535 !important;
  }

  /* Ensure all text elements use the correct color */
  .template-blog h1, .template-blog h2, .template-blog h3,
  .template-blog p, .template-blog a, .template-blog span,
  .template-article h1, .template-article h2, .template-article h3,
  .template-article p, .template-article a, .template-article span {
      color: #353535 !important;
  }
</style>

This method forces the color scheme across blog pages and articles. Let me know if you need further refinements!

If I was able to help you, please don't forget to Like and mark it as the Solution!

Best Regard,
Rajat

Rajat | Shopify Expert Developer
Need a reliable Shopify developer for your next project?
Our App: Productify Groups App
Email: rajat.shopify@gmail.com
Portfolio: https://rajatweb.dev
junglecatclub
Excursionist
39 0 9

hellol thank you but this didnt work, any ideas why?

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Hi @junglecatclub 

TRy this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

section#shopify-section-template--20735956385997__main {
    background:#EEE9DD;
    color: #353535;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1740494723102.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
junglecatclub
Excursionist
39 0 9

hello, that has updated the blog template

 

but still need to adjust blog POST template background to #EEE9DD

 

if you can help me please

thank you so much!

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Which blog post template are you referring to? Please share the URL or let me know the current theme you're working on.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Made4uo-Ribe
Shopify Partner
10211 2427 3081

Thanks for the info, but this is an admin page. I only need the preview of the blogs. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
junglecatclub
Excursionist
39 0 9

sorry what do you mean? how can i give the preview?

Made4uo-Ribe
Shopify Partner
10211 2427 3081

If it publish theme you just give provide the store URL.

Made4uoRibe_0-1740753861010.png

If it another theme that your working currently click preview. 

Made4uoRibe_1-1740753901072.png

And copy paste the link priview on this button. 

Made4uoRibe_2-1740753933784.png

And please share who is requesting to check your blog post. It would be difficult for us to provide a solution without seeing the problem.

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.