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, ...container skinning problemcontainer skinning problem
Previous
 
Next
New Post
7/25/2007 11:36 PM
 

Hi!

Thanks for advice!

I installed firebug, and now I see that the css class for titles in the common containers and notable container are the same (.Head) class.

I wonder how could it be? As I defined:

1- in common container directory, file container.css, class .CommonHead.

2- in notable container directory, file container.css, class .MainHead,

, and applied those classes respectively in the common_container.html, and notable_container.html files.

Thanks again,

Peter

 

basg wrote

Hi,

Maybe firebug, a firefox plugin, can help you out. its a powerfull tool to see if any css classes are overuled, is the site life so I can take a look at it?

regards Bas

 
New Post
7/26/2007 5:50 AM
 

Hi Peter,

after uploading your container DNN create .ascx files from your .html files.

maybe I can illustrate it with a container I made (with div's)

container.html

<div class="tanzania_container">
 <div class="tanzania_container_header">[SOLPARTACTIONS] [TITLE]</div>
 <div class="tanzania_container_contentwrapper">
 <div class="tanzania_container_contentpane" id="contentpane" runat="server"></div>
 <div>[ACTIONBUTTON:1]</div>
 </div>
</div>

after uploading DNN creates a container.ascx file:

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="SOLPARTACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON1" Src="~/Admin/Containers/ActionButton.ascx" %>
<div class="tanzania_container">
<div class="tanzania_container_header"><dnn:SOLPARTACTIONS runat="server" id="dnnSOLPARTACTIONS" /> <dnn:TITLE runat="server" id="dnnTITLE" /></div>
<div class="tanzania_container_contentwrapper">
<div class="tanzania_container_contentpane" id="contentpane" runat="server">
</div>
<div><dnn:ACTIONBUTTON1 runat="server" id="dnnACTIONBUTTON1" CommandName="AddContent.Action" DisplayIcon="True" DisplayLink="True"/></div>
</div>
</div>

 the Title is a dotnetnuke control which has the class .Head. Now I can target the styles for my container in my skin.css file using the folowing:

.tanzania_container_header .Head { color:white; }

hope this helps

regards Bas

 

 
New Post
7/30/2007 1:56 PM
 

Thank you for your help - I was running into the same problem.

I did find a slightly better way to do it though:
I just added the CssClass to the dnn:TITLE control and added a corresponding class in my CSS.

THANKS!

 
New Post
7/31/2007 6:52 AM
 

Slightly????

that's much better!!!  this was one of the first containers I made learning from the Red Leave Skin tutorial video's.

regards Bas

 
New Post
8/2/2007 5:18 PM
 

williamsbrad wrote

I did find a slightly better way to do it though:
I just added the CssClass to the dnn:TITLE control and added a corresponding class in my CSS.

Sorry, but I am very new at skins myself (and believe it or not, been "using" DNN for years), but can you describe where or how you add the CssClas to the "dnn:TITLE control"  

I am working on a new skin, and I made a few different containers.   I have the skin.css .head set with a dark text for containers with a light background.  However, I have a few containers with a dark background, and wish to have white text in the header for those.  I want to display the different containers on the same page too.  

Thank you.
TM


Terence
TMMworld Dot Net Services
View Terence Maney's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...container skinning problemcontainer skinning problem


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