How to change Header Color Scheme default

Topic summary

A user working with the Dawn theme in a local development environment wants to programmatically change the header’s default color scheme from Scheme 1 to Scheme 2 through code modifications, rather than using the Shopify admin interface.

Current Situation:

  • The header currently defaults to Scheme 1
  • User has access to the theme code locally
  • Standard admin panel method is known but not desired

Attempted Solutions:

  • Another participant provided screenshots showing the admin interface approach
  • A code-based solution was suggested (shown in screenshot), but implementation failed to produce changes

Status:
The issue remains unresolved. The original poster indicated they may share their code directly with the helper for further troubleshooting assistance.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Currently my default color scheme is Scheme 1 for the header , I want to change it to scheme 2 (default), i was trying to find out the code and file for this but not getting any proper result. Somebody please tell me how can i do this?, so that my color scheme change to Scheme 2. I’m using dawn theme and I setup the dawn theme code in my local.

1 Like

Thanku for your response, I know this method pretty well. I want to change this from the code only and make it default Scheme 2 not Scheme 1. I Hope you understand :slightly_smiling_face:

Thankyou for your response. I tried this and nothing is changing there can you please assist me . What I’m missing. Should i give you the code?

Ok mailing you