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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024