0

I created a widget and changed the style sheet dynamically using javascript. href attribute is updated, but the styles not applying in the html page.

Is there anything i have to do additionally to load the css file..?

1 Answer 1

1

You have the wrong version of the module, which, given that the module comes standard with Orchard, means that you've been installing a version from the gallery on top of your existing version. You'll want to restore the version that came with Orchard.

Sign up to request clarification or add additional context in comments.

2 Comments

Yes, that's what I said.
Just copy it back from wherever you installed Orchard. For example, get the srouce package from CodePlex that corresponds to the version you're using. The modules are under the web site's directory under the Modules subdirectory. You can find the same structure under src/Orchard.Web in the source package.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.