Streaming live at 10am (PST)

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: Webflow - mikehamborg.dk

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.