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, ...Skin changes when installedSkin changes when installed
Previous
 
Next
New Post
10/24/2009 10:52 AM
 

I'm building a skin as follows:

Html:
<div id="wrapper">
        <div id="header"></div>
        <div id="menuPane">[MENU]</div>
        <div id="ContentPane" runat="server"></div>
        <div id="RightPane" runat="server"></div>
        <div id="clear"></div>
        <div id="footer">[USER] [LOGIN]</div>
</div>

CSS:
* {
    padding: 0;
    margin: 0;
}
#wrapper{
    width: 700px;
    min-height: 100%;
    margin: 0 auto;
}
#header{
    width: 100%;
    height: 120px;
    background-image: url('images/headerbg.png');
    background-color: #333333;
}
#menuPane{
    width: 100%;
    height: 40px;
}
#ContentPane{
    width: 350px;
    min-height: 500px;
    float: left;
}
#RightPane{
    width: 350px;
    min-height: 500px;
    float: left;
}
#clear{
    clear: both;
}
#footer{
    height: 120px;
    background-color: #333333;
}




I want the contentPane and rightPane to be side by side, which is exactly what happened when I wrote and checked the html. But when I installed it as a skin on my dnn site, the contentPane and rightPane where vertically aligned. They also collapse heightwise (doesn't the skin installation process read min-height?).

How come they change?

 
New Post
10/24/2009 11:12 AM
 

Dnn (or in fact ASP.NET) adds Dnn_ at the start of every panes ID.

You should add a class to every pane and use that for your CSS

(don't use IDs of skin objects either, the way the ID's are rendered might change in the future)

HTH

 
New Post
10/24/2009 11:38 AM
 

Great! Thanks.

Another question. I'm kind of new to dnn skinning.. If I want to apply changes to the css, isn't it enough to modify the file on the server and then parse the skin in dnn?

 
New Post
10/24/2009 4:48 PM
 

If you change skin.css you don't have to reparse the skin.

Please note that you cannot choose the filename of the css file freely!

 
New Post
10/25/2009 8:02 AM
 

How do you mean? The inital naming of the file or a renaming of the file after installation?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin changes when installedSkin changes when installed


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