Shopify themes, liquid, logos, and UX
Hi I am using colorblock theme. I have my color scheme setup for my entire site to be my brand colors. The only pages that are showing a different color scheme are the policy pages (and the buttons on the slideshow). I cannot find where to select my color scheme for these pages. I have tried pasting the code in the solutions suggested here with no luck. I would like it to have a black background with white text. Thank you!
Please share the link of the policy page
Best,
Daisy
It's not live yet, do I just remove the password?
https://c330a1-04.myshopify.com/policies/privacy-policy
In order to fulfill your request, please follow these steps
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
{% style %}
{% if canonical_url == "https://c330a1-04.myshopify.com/policies/privacy-policy" %}
main#MainContent {
background: black !important;
}
main#MainContent * {
color: #CCFF00 !important;
}
{% endif %}
{% endstyle %}
add trước </head> , theme.liquid
chữ đang có màu xanh, code này để chuyển sang màu vàng
nếu ko muốn chuyển sang màu vàng thì bỏ đoạn code này
main#MainContent * {
color: #CCFF00 !important;
}
Here is the result:
I hope this helps
Best,
Daisy
Thank you! It doesn't show on preview but when I save it does work! Thanks again!
I spoke too soon...now my other policy pages have weird random characters across the top of the page.
https://c330a1-04.myshopify.com/policies/terms-of-service
and others
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025