How can I change the font color on my header and subheader?

Topic summary

Goal: Set header/subheader text on the slideshow image to white while keeping menu/other page text black in the Shopify “Refresh” theme. Built-in settings only allow a global text color, not section-specific.

Context: Store isn’t live yet. A screenshot is provided to illustrate the desired styling.

Proposed approach: A helper suggested adding custom code via Shopify:

  • Online Store → Theme → Edit code
  • Open theme.liquid (the main theme layout file)
  • Paste custom code at the bottom and save

Gap: The actual code snippet was not included (empty in the post), so the instructions aren’t actionable.

Status: Unresolved. No confirmation of a working fix.

What’s pending: Providing the specific CSS needed to target slideshow header/subheader text (while leaving menu/body text black), or an alternative method. Since the site isn’t live, sharing a preview or section identifiers might be needed to tailor the code.

Summarized with AI on December 30. AI used: gpt-5.

Hi! I am trying to change the font on my header and subheader on the refresh layout.

I only have the option to change all the text color in my layout options but I want the menu/rest of page text to be black and the text on the slide photo to be white! Can anyone help?

1 Like

Can i take a look at your website?

It’s not live yet

Hi @jordiej ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly