简体   繁体   中英

how to load the dynamically changed css file

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..?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM