Changing background colour policy pages

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?

2 Likes

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

1 Like

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 tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

You solved my problem in a couple of seconds…It works on all policy pages. Thxz!

1 Like

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.

1 Like

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 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

1 Like

And this works too. I am totally happy with how it looks now! Many thanks!

1 Like

You’re welcome. Feel free to connect if you require any further help! :slightly_smiling_face:

Best Regards,

Moeed