Shopify themes, liquid, logos, and UX
Hi! I need help adding black outline to text on the image banner so the words will pop and be easier to read. I am using the dawn template theme. Any advice will be appreciated!
Solved! Go to the solution
This is an accepted solution.
@Tunny15 - please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css
.banner__heading strong{text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;}
.banner__text strong{text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;}
kinda. I tried adding a code I found online, but it didn't change anything.
I want the heading and text that's in turquoise color outlined in black or dark blue. See attached screenshot.
Enchantedwoodworkingco.com
Enchantedwoodworkingco.com
This is an accepted solution.
@Tunny15 - please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css
.banner__heading strong{text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;}
.banner__text strong{text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;}
That worked beautifully!! Thank you
Please provide your website URL so we can check it and suggest appropriate CSS.
Alternatively, you can try below snippet code to see if it resolves the issue.
<p style="color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; font-weight: bold;">Your banner description text here</p>
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025