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, ...Having Problems with my CSS SkinHaving Problems with my CSS Skin
Previous
 
Next
New Post
11/13/2007 10:51 AM
 

How do I get DNN to recognize my CSS and get it to apply it?  

Do I need to put all the CSS elements inside the HTML instead of a seperate CSS file?  

This is my first skin and I am not sure what I am doing wrong.

 
New Post
11/13/2007 11:31 AM
 

IS Manager wrote

I took the approach of making a pure CSS skin but when I installed it there are a couple problems with it. Things are missing from my html file I used to build it. 

#1 My design has a toppane in it and I dont see that in the layout of the page. When I view the HTML I see all the tags and the CSS applied.

#2 My style class variables are not applied at all which Im not sure why this would be my css file along with all the gif and jpg images are in the skin package I installed.

Any ideas?

 

From the code you provided, it's obviously that your design is not a pure CSS skin. You're using tables to layout your site.
The reason I recommend to double check if you have specified the proper doctype because it would apple to the XHTML/CSS design.

It's not a good practice to reference your toppane as #dnn_toppane in your css, It's dynamically generated by dotnetnuke so I strongly recommend to give it a class instead.

Technically, you don't need to reference your css file in the html, by default dnn will pull the skin.css file and apply to the skin. In addition, if you're developing your skin using html, dnn will just ignore whatever comes ouside the body tag. So you don't need anything outside and include the body tag.

You skin.css does not get applied, my guess is to double check to see if the skin is actually packaged properly and the css file is in place.
If you have multiple css files, make sure the skin.css file is on the same level with your skin.

 


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
11/13/2007 12:18 PM
 

I have taken everything out of the HTML file except for everything between my body tags. I guess I am not following something here. The whole point is DNN is not applying the Skin.css.  I have all my skin files in the same folder and making a compressed zip file for use in the uploading of the skin in DNN.

Is this how I should go about packaging my skin files together maybe this is my problem?  

Is it just a compressed zip file?

 
New Post
11/13/2007 1:12 PM
 

Please post alink an example page so we can have a look at it.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Having Problems with my CSS SkinHaving Problems with my CSS Skin


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