Stroke on text just wont show

Hi everyone,

I am trying to get text on my site to have a white stroke and a transparent fill. I’ve gone through countless posts and tutorials and I don’t seem to understand what I’m doing wrong.

This is the code I’m using:

.outlineh1 { -webkit-text-stroke-width: 5px; -webkit-text-stroke-color: white; }

Appreciate any help!


Here is my site Read-Only: https://preview.webflow.com/preview/swimgoods-initial-project?utm_medium=preview_link&utm_source=designer&utm_content=swimgoods-initial-project&preview=8388ca069399ccfeebb84275a77e7f58&mode=preview

Hello @swimgood :wave:

What you have is working from what I can tell. Although you won’t see it in the designer’s preview mode, it is visible on the published site. Custom code is not visible in the designer or editor (in edit mode).

Hope that helps!

Ahhhhh that explains it! Thank you.