Custom code doesn't work at all

I just upgraded to a paid version of Webflow, and wanted to try out custom code.

But it doesnt work at all. I’ve tested it on headings, texts and backgrounds. Nothing happens.

I would like to add a stroke to a text, and I used this code:

<style>
.ProjectNumber {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #FFFFFF;
}
</style>

Here is my site Read-Only: https://preview.webflow.com/preview/mikehamborg-dk?utm_medium=preview_link&utm_source=designer&utm_content=mikehamborg-dk&preview=b038293560ab8cef01153bb17b3ff931&mode=preview

If I’m not mistaken, Webflow converts any uppercase letters in classes into lowercase. Try with .projectnumber {}.

Edit: now that I think about it, I’m not sure if CSS targeted class names are case sensitive. But it’s worth a try :slight_smile:

1 Like

Omg that actually worked.