CSS Transform Class

Continuing the discussion from Customise any invoice or estimate label using CSS:

Something I discovered, be careful copying and pasting Glenn’s example above. The CSS editor doesn’t like the inverted commas after content: . At least, Chrome doesn’t. They paste as curly, whereas typing them, they’re straight.

Actually, on closer inspection it looks like it was a combination of the inverted commas and a period:

Take the period out, or change the commas and it’s fine.

Hope that makes sense.

Thanks

W.

Smart quotes.

The following should be correct.

.transform-invTypeName1 {
       content: "MY NEW LABEL"
}

You will often find that copying directly from forums and webpages in general will also copy things you don’t want so it’s always worth pasting into a text editor first to clear any lingering formatting and special characters.

Thank you for pointing this out, I’ve corrected the original post.

It was most likely a copy + paste from Word that I missed.

This topic was automatically closed after 7 days. New replies are no longer allowed.