Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi Friends,
I want some help on my website. In this section of my website: https://kavipoetryart.in/blogs/recycling , in the first blog titled, "Where to buy Eco Gifts with the best price and delivery" the text is in white which is not readable and "Read More" has in white background.
I need to change that. I need a white background on "Where to buy Eco Gifts with the best price and delivery" on this text and bold font so that it is readable. And in the "Read More" section, i want the background color as yellow (#fff200).
Please help me to make the changes. Thank you in advance.
Solved! Go to the solution
This is an accepted solution.
Hey @kavipoetryart
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
{% if blog.handle == 'recycling' %}
<style>
h2.SectionHeader__Heading.Heading.u-h1 {
font-weight: bold !important;
color: black !important;
background: white !important;
width: 78% !important;
}
a.Button.Button--primary:before {
background: yellow !important;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
I've updated the code and this code will only work on Blog Page now so please check it out.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @kavipoetryart
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
{% if blog.handle == 'recycling' %}
<style>
h2.SectionHeader__Heading.Heading.u-h1 {
font-weight: bold !important;
color: black !important;
background: white !important;
width: 78% !important;
}
a.Button.Button--primary:before {
background: yellow !important;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
I tried doing but it's coming in complete white. PFA screenshot of the same.
Hey @kavipoetryart
I've updated the code, please remove the previous code and apply the new one.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Now the first part is working, but the Read More is still not coming in yellow background. Please check screenshot.
Please add the updated code again, this should work now.
It's happening but other things on home page are also changing. I just want this change on blogging page.
This is an accepted solution.
I've updated the code and this code will only work on Blog Page now so please check it out.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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