Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Where do I need to put module.css during development?Where do I need to put module.css during development?
Previous
 
Next
New Post
4/21/2006 8:17 PM
 

Hi All,

I've been away from the DNN scene for a while, and am just now starting up again in the all new DNN 4.0.3. I love it! But I'm going through the learning curve a bit again. Anyway, it's a simple question - I need to use a custom *.css that is specific to my module. If I remember correctly, you just needed to add a module.css file in your module folder, and DNN would pickup on that, but that doesn't seem to be the case now.

What is the appropriate method to include custom CSS in a module. Please note that I do not want to put it in the skin, I want it in the module. Thanks!

-Todd

 
New Post
4/24/2006 6:31 AM
 

simply having a file module.css in your module folder should be enough. How are you concluding that it is not picked up? Did you check the stylesheet links in the header for a link to your module.css? What might happen with some css classes is that the order is wrong, so the class is not used, or it might be needed to define your class more specific in the css, for instance, if you have an element that needs class "myclass", and that element is enclosed my another element with class "parentClass", then you might need to specify this in your css:

.parentClass .myclass{}

cheers,

Erik


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
4/24/2006 8:01 AM
 

Module.css is loaded for the view and edit controls, but for the settings controls it isnt, this is an old problem which dates from the dnn3, you can fix this by adding the reference in the settings control manually.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Where do I need to put module.css during development?Where do I need to put module.css during development?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out