Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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
Did you ever get a solution to this problem? I inserted the code referenced above and the same thing happened to me with the weird random characters on the top of the page.
I have not. Hoping someone can help please!
Is there anything else I can try since this didn't work? Please and thank you! 🙌