HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Beginner questions:  Updating a skin and applying to a pageBeginner questions: Updating a skin and applying to a page
Previous
 
Next
New Post
9/3/2010 8:56 AM
 
Timo,

Thanks again for the fast reply.

I tried restarting like you suggested and DNN still isn't attaching my CSS to the skin.  I've opened the HTML by itself and the CSS is working appropriately, so it's something I'm not doing right in DNN.

When I parse the skin file the only lines I see related to the CSS file are the following:

Substituting: <link href="Hudson.css" rel="stylesheet" type="text/css" />
With: <link href="/portals/_default/skins/hudson/Hudson.css" rel="stylesheet" type="text/css" /> 


And the resulting ascx file does not include any reference to the CSS file.

Any other suggestions on what I might be doing wrong?

Thanks again!

-Ben
 
New Post
9/3/2010 11:30 AM
 
The ascx does not contain any references to CSS files, they are loaded automatically.
You should use the correct naming for the CSS files or they will not be loaded.

If your skin is called myskin and you add "xyz.css" to your HTML file it will never be loaded as DNN only loads files based on their name and existence.

Skin.css is the default name for a css file for a skin...
SkinFileName.css is another one (name of the CSS file has to be exaclty the same as the HTML file name)

HTH

Web applications, DNN websites, modules, skins and support
 
New Post
9/8/2010 7:03 AM
 
Timo,

Thanks so much again, those answers worked perfectly!
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Beginner questions:  Updating a skin and applying to a pageBeginner questions: Updating a skin and applying to a page


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.