Learn More





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, ...DNN 7 - Home.css overrideDNN 7 - Home.css override
New Post
11/11/2014 8:27 AM

Howdy folks:

 I'm new to skinning. I'm going ok so far, but have a question regarding CSS files.

I copied the gravity skin and created my new sample skin from it. In this sampleskin folder, i have a default.ascx and skin.css.

in my default.ascx, I created a div with a class called "footer" and in skin.css, set some properties (background color). 

 In using Firebug to look at the HTML, my style is being overridden from the Home.css file. I don't understand why skin.css isn't winning the battle and why home.css is?

(I figured out that if I just change the style name and class reference to something other than footer, my custom css does apply. )

But I'm just trying to figure out why home.css would override skin.css of my skin for the div class and style 'footer'

thanks for any insights you can provide.


New Post
11/12/2014 10:48 AM
there is no home.css in gravity which suggests it was added elsewhere and that's the cause of the overriding styles

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
11/14/2014 4:52 PM
This may help. Look at the order of css files:

Risdall Marketing Group
erik hinds
risdall marketing group
#1 Web Design Agency in the World
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN 7 - Home.css overrideDNN 7 - Home.css override

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?