Personalized checkout and custom promotions with Shopify Scripts
Hello, we are setting up an e-commerce platform for unique graphic textiles. We're using Shopify with the Dawn theme as a base, and we've already set up the main structure properly. However, I'm struggling to change the background color of the policy pages to #FF. This will need to be adjusted in the code, but I'm looking for effective instructions and code... Who can help with this?
Solved! Go to the solution
This is an accepted solution.
Hey @RikandMoniek
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
<style>
main#MainContent {
background: #FFF8EF !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @RikandMoniek
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hi Moeed,
Thanks for your response and thanks for taking a look.
URL = https://d95ccc-72.myshopify.com/
Log = .......
We want to change the background colour in #FFF8EF.
Greatings, Rik
This is an accepted solution.
Hey @RikandMoniek
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
<style>
main#MainContent {
background: #FFF8EF !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
You solved my problem in a couple of seconds....It works on all policy pages. Thxz!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Great that you are doing this. I still have 1 small thing... The heading in the policy pages is now black and I would like to have it in dark blue: #1F64AE. And this also does not work with the normal functions of Shopify. Is this also something that should be done with a code?
And the header in the policy pages left-aligned would be absolutely beautiful...
Hey @RikandMoniek
Keep the previous code and add this new code above </style> in the end of theme.liquid file.
.shopify-policy__title h1 {
text-align: -webkit-left !important;
color: #1F64AE !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
And this works too. I am totally happy with how it looks now! Many thanks!
You're welcome. Feel free to connect if you require any further help! 🙂
Best Regards,
Moeed
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024