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, ...SOLPART CSS helpSOLPART CSS help
Previous
 
Next
New Post
5/20/2006 5:47 PM
 

I still have not resolved this. Does the css heirarchy not go portal.css then default.css then skin.css and then container and inline?

That being the case (if it is), I am unclear on why some properties in default.css are not being overwritten by properties in skin.css (and some are). It seems too simple to be missing something, but I must be.


pmgerholdt
 
New Post
5/20/2006 8:56 PM
 

To find out what .css documents are loaded and in what order:

1.View Source for the page.
2. Search for .css

All the .css files that are loaded will be found in order.

When overriding a css rule, you need to override the specific property within that rule:

In other words, when you have this:

td { 

   font-size: 1em;
   color:black;
   background-color:white;
}

In default.css, then when you put

td { 
   color:gold;
}

In a stylesheet that is loaded later, then only the color will be overridden, and the background-color will still be white with the font-size 1em.

To override the background-color property you need to explicity state what you want it to be in a .css file that is loaded later:

td { 
   color:gold;
   background-color:black;
}

Now you will have gold print on a black background and the font-size will still be 1em.

This is an over-simplification, but should explain why you might not be getting the change you want to take place.

Now the hard part is tracking down what stylesheet does what, but if you know the order, then as long as you explicitly define the styles you want, you will be "golden".

 


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SOLPART CSS helpSOLPART CSS help


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