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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How does Container Load CSS file?How does Container Load CSS file?
Previous
 
Next
New Post
9/23/2008 9:53 PM
 

Can someone enlighten me as to how a container knows to load a particular CSS file? I had always understood that the CSS file must be called 'container.css' and to load anything else I needed an @INCLUDES directive in container.css.

Now I have a container apparently auto-loading a css file that has the same name as the container, adn am wondering how/why this is happening automatically? Is this now by design, or perhaps a new feature/bug? I'm running DNN 4.9.0

 

Thanks,

Peter

 
New Post
9/24/2008 4:06 AM
Accepted Answer 

This is not new but has "always" been like that.

From te skinning documentation:

DotNetNuke uses an external style sheet ( or CSS ) specification which takes full
advantage of their cascading nature. Essentially this means that DotNetNuke has
multiple external style sheet references on a page – each style sheet reference is
specified in prioritized order so that hierarchical overriding can occur. The
cascading order of style sheets is summarized below ( with each item overriding the
previous items ):
o Modules – styles for custom modules defined in
PortalModuleControl.StyleSheet
o Default – default host level styles – default.css
o Skin – skin styles – skin.css or skinfilename.css
o Container – container styles – container.css or containerfilename.css
o Portal – custom styles defined by portal Administrator – portal.css

 

 
New Post
9/24/2008 8:41 PM
 

Thanks Timo.

I overlooked the bit re the name match.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How does Container Load CSS file?How does Container Load CSS file?


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