How can I add a light grey shadow to text in Studio Theme?

Topic summary

A user seeks to add a light grey shadow effect to text on their Shopify store (Glowcare.se) using CSS.

Solution Provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (typically base.css, style.css, or theme.css in the Assets folder)
  • Add the following CSS code at the bottom:
#div__79716196220991--template--textWithImage h1 {
  text-shadow: 2px 5px 6px grey;
}

The response includes a visual example showing the shadow effect applied to text. The CSS targets a specific element ID and applies a text-shadow property with defined offset and color values. The discussion appears resolved with a working code snippet provided.

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

Hi Team. Can I add a light grey shadow at the back of the text via CSS?

Store: Glowcare.se
PS: Glowcare1991

1 Like

Hi @GeeKyuu24

Do you mean like this?

If it is, try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • 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:
div#ImageWithText--template--19902269161797__9750e28c-1010-4f9a-bc28-dc87c4c3b862 h1 {
    text-shadow: 2px 5px 6px grey;
}
  • And Save.