Change Bg Color of Link Pages (Refund Policy, Privacy Policy, Terms Service, Contact) on Dawn Theme

Topic summary

A user needed to change the background color of policy and contact pages from white to gold (#CFB47F) in the Dawn theme.

Solution provided:

  • Navigate to Shopify Admin → Online Store → Theme → Edit code
  • Locate the theme.liquid file
  • Insert custom CSS code above the </head> tag that targets pages containing ‘policies’ in the URL
  • The CSS applies the gold background color specifically to those pages

Additional issue resolved:
The user also reported unwanted white space appearing above the footer on all pages. A similar CSS solution was provided by inserting additional code in the same theme.liquid file to remove this spacing.

Both customizations were successfully implemented, with the helper providing before/after screenshots to demonstrate the results.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Theme: Dawn

I’m trying to change the background color from white to gold (#CFB47F) on all of the link pages (Refund Policy, Privacy Policy, Terms Service, Contact Information) on a Dawn theme site.

I included an image to see that I’m trying to change the background color white to gold from one of the link pages below. In the image I’m highlighting the Contact Information as an example.

2 Likes

Hi @RGap

Would you mind to share your astore URL? Thanks!

www.orangebootswine.com

Hi @RGap , Your store is password protected

It’s available now. Thanks

1 Like

Hi @RGap ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:

{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'policies' %}

{% endif %}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Thank you!!

I have another request.

How do I remove the white area above the footer on every page?

1 Like

The white area use to not be there. Now it’s showing on every page. Did something happen?

1 Like

Hi @RGap ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result;

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Thank you so much!!! :heart_eyes:

1 Like

@RGap No problem. Have a good day :heart_eyes:

1 Like