What's your biggest current challenge? Have your say in Community Polls along the right column.

how do i change all my blog posts page background colour and font colour?

Solved

how do i change all my blog posts page background colour and font colour?

dumbl3d00r
Excursionist
50 0 12

i want to change the background to all 3 of my blog posts page from white to #fdf1e5 and the font colour to #2f261e, one of blog posts url is https://edcf73-5d.myshopify.com/blogs/affordable-fashion-home-decor-digital-designs-handcrafted-with... but i want it done for all blog posts not just this one.

Accepted Solution (1)
devcoders
Shopify Partner
572 81 143

This is an accepted solution.

Hello @dumbl3d00r 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.

.article-template header {
    margin-top: 0!important;
}

 

 

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 5 (5)

devcoders
Shopify Partner
572 81 143

Hello @dumbl3d00r 

 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/theme.css. Add the provided code at the end of the file.

 

.article-template {
background: #fdf1e5;
}
.article-template header {
margin-top: 0;
}

 

devcoders_0-1732298426171.png

 

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
dumbl3d00r
Excursionist
50 0 12

great but now i have this extra white space at the topScreenshot (276).png

devcoders
Shopify Partner
572 81 143

This is an accepted solution.

Hello @dumbl3d00r 

Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.

.article-template header {
    margin-top: 0!important;
}

 

 

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
devcoders
Shopify Partner
572 81 143

Hello @dumbl3d00r 

 

You're very welcome! I'm glad to hear that you're pleased with the outcome. Please feel free to reach out if you need further assistance.

If my assistance was helpful, please consider liking and accepting the solution. Thank you!

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

Made4uo-Ribe
Shopify Partner
9166 2188 2704

Hi @dumbl3d00r 

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:

 

article.article-template {
    background: #fdf1e5;
}
article.article-template * {
    color: #2f261e;
}

.article-template>*:first-child:not(.article-template__hero-container) {
    margin-top: 0;
    padding-top: 5rem;
}

 

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

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.