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, ...CSS Style for Container contentCSS Style for Container content
Previous
 
Next
New Post
11/16/2007 6:26 AM
 

Hi all

I have made a CSS based DNN skin (4.6.2)

Everything seems just fint  besides the fact that I can't set a css style for the content of a container.

Have tried using an outer DIV with a style, using #ContanetPane, and even setting a class for the ContentPane DIV but nothing seems to have any effect.

There is no problems with the title etc.

How is the right way to do this ?

 <div>
   <div id="no_header_toppane">
      <dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" />
      <dnn:ICON runat="server" id="dnnICON" />
      <dnn:ACTIONBUTTON1 runat="server" id="dnnACTIONBUTTON1" CommandName="ModuleHelp.Action" DisplayIcon="True" DisplayLink="False" />
   </div>
   <div id="no_header_contentpane">
      <
div id="ContentPane" runat="server" class="no_header_contentpane" />
   </
div> 
   <div id="no_header_bottompane">
      <dnn:ACTIONBUTTON2 runat="server" id="dnnACTIONBUTTON2" CommandName="AddContent.Action" DisplayIcon="True" DisplayLink="True" />
      <dnn:ACTIONBUTTON3 runat="server" id="dnnACTIONBUTTON3" CommandName="SyndicateModule.Action" DisplayIcon="True" DisplayLink="False" />
      <dnn:ACTIONBUTTON4 runat="server" id="dnnACTIONBUTTON4" CommandName="ModuleSettings.Action" DisplayIcon="True" DisplayLink="False" />
   </div>
</div>




#no_header_toppane
{

}

#no_header_contentpane
{
  font-family: Verdana, Arial;

  font-size: 18px;
  font-weight: normal;
  color: #407ea2;
}

.no_header_contentpane
{

#no_header_bottompane


{}

  font-family: Verdana, Arial;
  font-size: 18px;
  font-weight: normal;
  color: #407ea2;
}

 


 

 
New Post
11/16/2007 7:13 AM
 

the contentpane will render with a dnn_ prefix in the id:

dnn_ContentPane

So you will have to use that, the class should work though.

#dnn_ContentPane{

background-color:#F00;

}

 

 
New Post
11/16/2007 7:23 AM
 

or use Class Names instead of ids:

<div class="no_header_toppane">
...

...
.no_header_contentpane
{
  font-family: Verdana, Arial;

  font-size: 18px;
  font-weight: normal;
  color: #407ea2;
}

 
New Post
11/16/2007 9:28 AM
 

Found a "solution" but I'm not to happy with it...

Since the Content text of the container is encapsulated in <p></p> the font stuff will only work tags I do this :

.no_header_contentpane

p
{
font-family: Myriad Pro, Verdana, Arial;
font-size: 12px;
font-weight: normal;
color: #407ea2;
}

 

 
New Post
11/16/2007 10:40 AM
 

There seem to be typo's in you first post:

.no_header_contentpane
{

#no_header_bottompane


{}

  font-family: Verdana, Arial;
  font-size: 18px;
  font-weight: normal;
  color: #407ea2;
}

 Could you either repost the skin and CSS, or provide a link to an example page?

Because this should normally work...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS Style for Container contentCSS Style for Container content


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