DanielEli
DanielEli

Reputation: 3503

How to include custom CSS or Javascript on a Content Item in Orchard

Sometimes I want to add some custom CSS or Javascript to a page but the HTML editor doesn't handle this gracefully, even when using text dialog.

I could use an alternate view but then I have to upload the view file to my host every edit.

Any ideas?

Upvotes: 2

Views: 4067

Answers (1)

DanielEli
DanielEli

Reputation: 3503

Ok, I found a module (Vandelay.Classy) that does exactly this.

http://orchardproject.net/gallery/List/Modules/Orchard.Module.Vandelay.Classy

Upvotes: 2

Related Questions