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, ...Different ContentPanesDifferent ContentPanes
Previous
 
Next
New Post
8/13/2014 6:21 AM
 

Hello!

I've been looking for the answer and i found some threads about it but it not solved to me.

I have a main content and i want to subdivide it in anothers, but i I only get the main contentPane. I want that every pane has his own properties in css.

_____________________________________________________

<div id="ContentPane" runat="server" class="ContentPane">

        <div id="visualContent"  runat="server" class="visualContent">

                       <div id="upContent" runat="server" class="upContent"></div>

                           <div id="downContent" runat="server" class="downContent"> </div>

             </div>

</div>

 

What things that i´m doing wrong? I think that maybe i have to change the class to "ContentPane" but in this case it applies the properties of the main ContentPane.

 

Thank you!

Eva.

 

 
New Post
8/13/2014 7:29 AM
 
Eva,

Try something like this:

#ContentPane .upContent
{
color: #ffffff;
}

Mark
 
New Post
8/13/2014 8:13 AM
 
Hi Eva,

DNN does not allow for nesting of panes and a pane is defined by adding runat="server" in a div with an ID. So, in essence, you are trying to have 4 content panes #ContentPane, #visualContent, #upContent, and #downContent. Remove the runat="server" from the #ContentPane and #visualContent divs and all should work well. You will be left with the 2 content panes of #upContent and #downContent. Also, note that you still need to have a content pane named as contentpane somewhere on the skin for DNN to render the page.

Hope that helps.


Ralph Williams, Jr.
UX Designer / Front-End Web Developer
www.RalphWilliams.com
Ralph Williams Consulting
Twitter: twitter.com/ralphwilliams

Professional DNN7: Open Source .NET CMS Platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different ContentPanesDifferent ContentPanes


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