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, ...Multple A.SkinObjects in default.css?Multple A.SkinObjects in default.css?
Previous
 
Next
New Post
3/27/2006 1:29 PM
 

I am trying to make my BreadCrumb and Login links have different font styles and colors. I have found that this is configured in the default.css file, but it seems to be global for all skinobjects within this portal. How would I accomplish this? I am using HTML, not ascx  to layout my skins, if that is relevant.

Thank you!

 
New Post
3/27/2006 4:32 PM
 

try the following....

---skin css file

div#cssWhite A { color: White; font-weight: bold;}

---and the html file

<div id="cssWhite"><dnn:LOGIN runat="server"id="dnnLOGIN"/></div>

 

Cheers,

Olli

 
New Post
3/27/2006 5:20 PM
 
You can set this in your skin.xml file in your skin package.  Alternatively, you may see an xml file named after your html file.  In this XML file you can set several attributes to drive the behavior of all your skin objects.  These are all documented in the Skinning word document contained in the core documentation.
 
New Post
3/27/2006 5:23 PM
 

In your .css file, assign these-

.Login {
    font-weight: bold;
    font-size: 8.5pt;
    color: #003366;
    font-family: Arial, Helvetica;
    text-decoration: none;
}
A.Login:link {
    text-decoration: none;
    color:#FF9900;
}
A.Login:visited  {
    text-decoration: none;
    color:#eeeeee;
}
A.Login:active   {
    text-decoration: none;
    color:#eeeeee;
}
A.Login:hover    {
    text-decoration: none;
    color:#cccccc;
}
.BreadCrumb {
    font-weight: bold;
    font-size: 9pt;
    color: white;
    font-family: Tahoma, Arial, Helvetica;
    text-decoration: none;
}
A.BreadCrumb:link {
    text-decoration: none;
    color:white;
}

A.BreadCrumb:visited  {
    text-decoration: none;
    color:#eeeeee;
}

A.BreadCrumb:active   {
    text-decoration: none;
    color:#eeeeee;
}

A.BreadCrumb:hover    {
    text-decoration: none;
    color:#cccccc;
}


And in the .xml file, set them like this -

<Object>
    <Token>[LOGIN]</Token>
       <Settings>
           <Setting>
               <Name>CssClass</Name>
               <Value>BlueSkinObjects</Value>
           </Setting>
       </Settings>
</Object>
<Object>
    <Token>[BREADCRUMB]</Token>
       <Settings>
           <Setting>
               <Name>CssClass</Name>
               <Value>BreadCrumb</Value>
           </Setting>
           <Setting>
               <Name>RootLevel</Name>
               <Value>0</Value>
           </Setting>   
       </Settings>
</Object>


Hope this helps.

 
New Post
6/10/2006 8:03 AM
 

Thank you for your detailed post, I've been trying to figure this one out but you have given the information that I've been looking for myself.

Great job!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Multple A.SkinObjects in default.css?Multple A.SkinObjects in default.css?


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