How can I add a black outline to my mobile banner title?

Hello, can someone help me to add black outline to my banner title only on mobile si its mo readable? Here is my shop link: https://6053e1-2.myshopify.com/ . thank you

1 Like

Hi @Mael35 ,

Can you more specifty what outline you like to add? I made this one.

Instruction.

  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” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
h2.banner__heading.inline-richtext.h1 font {
    border-bottom: 0.5px dashed white;
}

I hope it help.

1 Like

Hello, thank for your help.

I mean more like a black shadow around letters to see them better when background is white

1 Like

You mean like this?

h2.banner__heading.inline-richtext.h1 {
    text-shadow: 2px 2px 4px black;
}

Result:

yes perfect thank you!

1 Like

Welcome. :blush: