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, ...Trouble with style sheetTrouble with style sheet
Previous
 
Next
New Post
11/30/2006 11:58 AM
 

I am having some trouble changing the style that the [TITLE] token is using. As you can see from the image below, the title as well as some other places are using the same style. If I change the color of the .Head attribute in the default.css it changes the color of all of the places highlighted in the image. So my guess is that they are all using the "Head" style.

I tried making a change to the container.xml file so that it contains the following:

<Object>
  <Token>[TITLE]</Token>
   <Setting>
    <Name>CssClass</Name>
    <Value>SubHead</Value>
   </Setting>
 </Object>

I have the SubHead set to a different color, however, it doesn't work. Am I not doing that right?

Please help.

 

 

 
New Post
12/4/2006 2:23 AM
 

You want to change the [TITLE] token...
Edit the container.xml file like this:
<Object>
  <Token>[TITLE]</Token>
   <Setting>
    <Name>CssClass</Name>
    <Value>MyTitle</Value>
   </Setting>
 </Object>


And in the container.css do this:
.MyTitle{
 font-family: "Trebuchet MS", "Helvetica", sans-serif;
 font-size: 12px;
 font-weight: normal;
color: Lime
}

Then re-parse the skin package...
P.S. - The "subHead" class is used already

 
New Post
12/4/2006 8:39 AM
 

Still not having any luck. Here is what I have in my files.

container.xml:

<Objects>
 <Object>
  <Token>[CONTENTPANE:4]</Token>
 </Object>
 <Object>
   <Token>[TITLE]</Token>
      <Setting>
       <Name>CssClass</Name>
       <Value>MyTitle</Value>
     </Setting>
 </Object>
  <Token>[SOLPARTACTIONS]</Token>
 </Object>
</Objects>

container.css:

.MyTitle{
 font-family: Tahoma, Arial, Helvetica;
 font-size: 12px;
 font-weight: normal;
 color: #FFFFFF
 }

However it is still displaying the "head" style. I am lost.

 
New Post
12/4/2006 10:01 AM
 

WooT!

I figured it out. I had to use this in the container.xml:

<Objects>
 <Object>
  <Token>[CONTENTPANE:4]</Token>
 </Object>
 <Object>
   <Token>[TITLE]</Token>
      <Settings>
    <Setting>
        <Name>CssClass</Name>
        <Value>MyTitle</Value>
      </Setting>
   </Settings>
 </Object>
 <Object> 
  <Token>[SOLPARTACTIONS]</Token>
 </Object>
</Objects>

 
New Post
12/5/2006 5:55 AM
 
Duh - sorry, Mike. That's what I get for hand-coding a forum response.
Glad you got it working, though.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Trouble with style sheetTrouble with style sheet


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