Shopify themes, liquid, logos, and UX
im trying to match the colors of my store with my policy pages and i cant see any options for that in the customization, any idea how to change it?
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
{% if request.path contains 'policies' %}
<style>
main#MainContent {
background: #ecede8;
}
main#MainContent * {
color: #331D1BBF!important
}
</style>
{% endif %}
Result:
If it helps you, please like and mark it as the solution.
Best Regards 😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hello @Aviio
Please share your store URL and password so I can check and update you.
Hi @Aviio
Try this one.
1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
.shopify-policy__container {
background: #ecede8;
max-width: 100%;
}
.shopify-policy__title h1 {
margin-top: 0;
padding-top: .67em;
}
.shopify-policy__body {
width: 65ch;
margin: 0 auto;
}
</style>
5. And Save.
6. Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
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