How to Change Page Title Text Color

Topic summary

A user wants to change the page title text color from black to gold on their Shopify store using the Dawn theme. They successfully changed the background to black but couldn’t modify the text color.

Store Details:

Solution Provided:
Add the following CSS code to the theme’s stylesheet (base.css, style.css, or theme.css):

h1.main-page-title.page-title {
    color:#fff09a;
}

Steps:

  1. Navigate to Shopify admin → Online Store → Themes
  2. Click Actions → Edit code
  3. Open the appropriate CSS file in the Assets folder
  4. Add the code at the bottom and save

The solution was confirmed with a screenshot showing the gold-colored title text.

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

I am trying to change that highlighted text in black to a gold color. Is there a line of code that I can input to change that? I was able to change the background to black, but I can’t seem to figure out how to change the other one. Dawn Theme

1 Like

can you share your store url

https://jewelry-vault.com

Hey @Diegito ,

Sure! We can definitely help you with that.

Could you please share your store URL and password (if it’s protected), so we can take a closer look and guide you with the exact line of code to change the text color to gold?

Thanks,

Shubham | Untechnickle

Hi @Diegito

Please, share your store URL. Thanks!

https://jewelry-vault.com/pages/mens-jewelry

Here is the page
https://jewelry-vault.com/pages/mens-jewelry

Thanks for the info, 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
h1.main-page-title.page-title {
    color:#fff09a;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like