Shopify themes, liquid, logos, and UX
Hello,
I wish to change the background color for this blog post page: https://etune.se/blogs/nyheter/om-emf
Does somone know what to do? Color code is #007744
Any help is much appreciated!
Kind regards
Hello @Etune ,
Please add the below mentioned code in your theme.liquid file before </body> tag.
<style>
article.article-template {
background-color: #007744;
}
</style>
If you want to change the background color of the complete site. then you can add this code in your theme.liquid file before </body> tag
<style>
main#MainContent {
background-color: #007744;
}
</style>
I hope the code helps you.
Thank you.
Hello, thank you for you help Anshul, my theme liquid file is not the same as CSS code right? Not sure if I understand where I am to enter the code
Again, thank you very much for taking the time to help!
Kind regards
David
I found it, thank you very much! If i wish to change the color of the text to #F8D26B, do i put it in here somewhere as well? Change text for the complete site I mean. Deeply appreciated!
Kind regards
David
Hello Etune,
To change the background color for a specific blog post page,
you'll need to modify the CSS for that particular page,
Here's a step-by-step guide on how to achieve this:
1. Access your Shopify Admin Dashboard
2. Navigate to the Theme Editor
3. Locate the base.css file
4. Add CSS to change background color(add this CSS code in the bottom)
body.blog-template {
background-color: #007744;
}
Save changes.
Thank you for taking the time, I got the issue resolved from the comment above, Have a great weekend, Kind regards
David
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025