Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  DNN does not pick my Skin.css
Previous Previous
 
Next Next
New Post 10/9/2007 3:23 PM
User is offline Harsha
6 posts
10th Ranked


DNN does not pick my Skin.css 

Hello DNN community,

I am an amateur at dotnetnuke and I have a problem with dotnetnuke 4.5.5 install version not able to find my Skin.css

Here is the issue in detail:

There are a couple of ASP.NET user controls that I have written for a skin and also I have a Skin.css and some graphics images and part of it. The skin uploads fine but I do not see the custom styles that I have written in the rendered DNN webpage. All I am trying to do in the Skin.css webpage is override a couple of main menu styles in default.css and also I made sure I used the same class names as the ones present in default.css. I have done a view source on the dnn webpage rendered and I have it showing me the default.css, portal.css but the Skin.css (link tag) does not appear on it. Could someone let me know if there is a small thing that I am missing  in terms of installing the skin or something I should remember to do for the css files?

Another thing is that I have zipped all the files into a folder [skinname].zip and also tried zipping things as Skin.zip and then zipping as [skinname].zip

Any help on this would be great. Thanks in advance!

Harsha

heres the code in my Skin.css file.. most of the settings are present in the default.css file .. I just changed a couple of them to suit my needs(.MainMenu_MenuBar :height and .MainMenu_MenuItem :color)...

(another question: does every css file need a body style? )

 

.MainMenu_MenuContainer {
 background-color: Transparent;
}
.MainMenu_MenuBar {
 cursor: pointer;
 cursor: hand;
 height: 35;
 background-color: Transparent;
}
.MainMenu_MenuItem {
 cursor: pointer;
 cursor: hand;
 color: #003E7E;
 font-family: Tahoma, Arial, Helvetica;
 font-size: 9pt;
 font-weight: bold;
 font-style: normal;
 border-left: white 0px solid;
 border-bottom: white 1px solid;
 border-top: white 1px solid;
 border-right: white 0px solid;
 background-color: Transparent;
}
.MainMenu_MenuIcon {
 cursor: pointer;
 cursor: hand;
 background-color: #EEEEEE;
 border-left: #EEEEEE 1px solid;
 border-bottom: #EEEEEE 1px solid;
 border-top: #EEEEEE 1px solid;
 text-align: center;
 width: 15;
 height: 21;
}
.MainMenu_SubMenu {
 z-index: 1000;
 cursor: pointer;
 cursor: hand;
 background-color: #FFFFFF;
 filter:progid:DXImageTransform.Microsoft.Shadow(color='DimGray', Direction=135, Strength=3);
 border-bottom: #FFFFFF 0px solid;
 border-left: #FFFFFF 0px solid;
 border-top: #FFFFFF 0px solid;
 border-right: #FFFFFF 0px solid;
}
.MainMenu_MenuBreak {
 border-bottom: #EEEEEE 1px solid;
 border-left: #EEEEEE 0px solid;
 border-top: #EEEEEE 1px solid; 
 border-right: #EEEEEE 0px solid;
 background-color: #EEEEEE;
 height: 1px;
}
.MainMenu_MenuItemSel {
 cursor: pointer;
 cursor: hand;
 color: black;
 font-family: Tahoma, Arial, Helvetica;
 font-size: 9pt;
 font-weight: bold;
 font-style: normal;
 background-color: #C1D2EE;
}
.MainMenu_MenuArrow {
 font-family: webdings;
 font-size: 10pt;
 cursor: pointer;
 cursor: hand;
 border-right: #FFFFFF 1px solid;
 border-bottom: #FFFFFF 1px solid;
 border-top: #FFFFFF 0px solid;
}
.MainMenu_RootMenuArrow {
 font-family: webdings;
 font-size: 10pt;
 cursor: pointer;
 cursor: hand;
}

 
New Post 10/9/2007 4:01 PM
User is offline Harsha
6 posts
10th Ranked


Re: DNN does not pick my Skin.css 

I actually fixed this problem, I wanted to make sure no one sweats here thinking on the issue.

The problem had nothing to do with the skin. I had the skin pointing to different portal initially and changed its seting back to the new portal. There were probably some pointers left within the database (not likely) or IE was caching so badly(not likely because I did a Ctrl+F5 many times).. or some other reason(more likely) which I cant get a hold on.

 

So lessons learnt:

If you have a previous reference in a skin and upload and install that skin with the same name later(with some changes), make sure you move or remove the previously pointed location so that the new files are seen.

 

I wonder if there was a way to make the database always point to the current location and also are there any tools out there that give you a chance to clear your cache (IE) when possible.. clearly I dont think it did a good job here.. I did use all the tools and internet options to clear the cache but it simply didnt do it in this case.. WIERD!

 

learning curve !!!

 
New Post 10/10/2007 7:00 AM
User is offline omarsiado
100 posts
9th Ranked


Re: DNN does not pick my Skin.css 

Did you put the sentence to load your css on your skin??.... for example:

<link href="<% =SkinPath %>/YourCSS.css" rel="stylesheet" type="text/css" />

I'm using dnn 4.5.5 version and i have no problems with it.  Just tell me if this fix your error.

 
New Post 10/10/2007 11:14 PM
User is offline Vera Hausherr
82 posts
10th Ranked




Re: DNN does not pick my Skin.css 

Another possible reason for your skin.css not being picked up:

Did you upload the skin package without a skin.css at first? In that case, even if you upload it later, DNN sometimes doesn't pick it up. Suggestion: try renaming your skin zip package and upload it again. Then DNN will think it's a whole new skin and pick up the skin.css right away. You can then delete the "old" skin from your server.

Vera

 
New Post 10/11/2007 9:00 AM
User is offline Harsha
6 posts
10th Ranked


Re: DNN does not pick my Skin.css 

omarsiado,

No I had not since I had just one css file. as far as my knowledge goes we need not mention the css link tag,  I have fixed the probem anyway, There hapened to be an issue as I was reloading the skin package with the same name and also there were a few portals that used the (previous version of the ) skin and DNN was using that old version and not picking up the new one though I had pointed the right direction for the files. For me lesson learnt was to use different names when appling changed skins, DNN thinks its a new skin and picks things up straight away. I appreciate your help.

I have another question by the way:

I have some javascript functionality that I would like to include. Would including with a link tag do the trick? I am asking this as it said "unable to parse the .js file" when I tried to install the skin (including the .js).. the other things worked fine .. I didnt put the link tag though.. may be i shaould try that.. thanks for answering once again..

Harsha

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  DNN does not pick my Skin.css
 


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.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP