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, ...Trying to change color of breadcrumb textTrying to change color of breadcrumb text
Previous
 
Next
New Post
6/15/2007 10:59 PM
 

For some reason I cannot get the color of my breadcrumb to change. I have tried using CSS, and also referring directly to the ID of the object in CSS. Am I missing something? It's at http://www.WorkAtHomeParadise.com

Thanks!

 

 
New Post
6/16/2007 9:44 AM
 

The breadcrumb skin object uses the "skinobject" class by default.  I suggest you set your breadcrumb to a new class name and style it from there:

In the css file:

.crumbs, .crumbs a{
font: 12px "Times New Roman", Times, serif;
color: white;
text-decoration: none;
}

If you are using the HTML/XML skinning method, do this in the xml file:

<Object>
<Token>[BREADCRUMB]</Token>
 <Settings>
  <Setting>
  <Name>RootLevel</Name>
  <Value>0</Value>
  </Setting>
  <Setting>
  <Name>Separator</Name>
  <Value><![CDATA[&nbsp;&raquo;&nbsp;]]></Value>
  </Setting>
  <Setting>
  <Name>CssClass</Name>
  <Value>crumbs</Value>
  </Setting>
 </Settings>
</Object>

If using the ASCX skinning method, do it like this in the ascx file:

<dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" CssClass="crumbs" RootLevel="0" Separator="&nbsp;&raquo;&nbsp;" />

 

Hope this gets you on the right track...

 

 

 
New Post
6/16/2007 3:02 PM
 

Thanks, I will try that. Why is there a ".crumbs" and a ".crumbs a" in your CSS, separated by a comma?

 
New Post
6/16/2007 8:20 PM
 

I just made up a class name, and happened to call it "crumbs". It can be any name you like, as long as it isn't used elsewhere and it doesn't start with a numeric...

The "a" denotes a link - the breadcrumb skin object is displayed as links.  I used text-decoration: none in order to keep it from being underlined.

This was just a simplified example... in practice I would control the style more like this:

.crumbs{
font: 12px "Times New Roman", Times, serif;
font-weight: bold;
color: white;
}
a.crumbs:link, a.crumbs:visited{
text-decoration: none;
color: white;
}
a.crumbs:hover{
text-decoration: underline;
color: red;
}
a.crumbs:active{
text-decoration: underline;
color: white;
}

This should give breadcrumb links (and any already visited) in bold white text that turns red and underlined on mouse-over, turning back to white but staying underlined on the currently active item.

Then I'd put it on the page like this (I skin using the ASCX method):

<span class="crumbs">You are here:&nbsp;&nbsp;</span><dnn:BREADCRUMB runat="server" id="dnnBREADCRUMB" CssClass="crumbs" RootLevel="0" Separator="&nbsp;&raquo;&nbsp;" />

 

 

 
New Post
6/16/2007 10:45 PM
 

Hi, I tried that, but still no luck! The separator takes the css settings, and I put other text in the same cell, and it takes the css setting no problem, but not the breadcrumb. http://www.WorkAtHomeParadise.com

Thanks for any more help.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Trying to change color of breadcrumb textTrying to change color of breadcrumb text


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