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, ...Cannot change color of User Control Cannot change color of User Control
Previous
 
Next
New Post
3/23/2007 2:01 PM
 
You posted:

<dnn:USER runat="server" id="dnnUSER" cssClass="userCtrl" />

Attributes ARE case sensitive, instead of cssClass, it should be CssClass.

Your individual css classes for each of the link types are all the same. Combine them into one definition if you're not doing anything differently with them.
 
New Post
3/23/2007 2:40 PM
 

Thank you for your assistance.

BTW The anchor is inactive.  The problem seems to be that there is no pseudo-classe for inactive anchor tags.  It renders the text in a gray with a strange yellow highlight.  

This class:
a.userCtrl:link, a.userCtrl:active, a.userCtrl:visited, a.userCtrl:hover
{
    color:#ECF123;
    font-weight:bold;
    text-decoration:none;
}

And the correction in case:(although all other class attributes on the control are defined otherwise and my testing shows proper parsing regardless of case):
<dnn:USER runat="server" id="dnnUSER" CssClass="userCtrl" />

View source:
<a id="dnn_dnnUSER_hypRegister" disabled="disabled" title="Click Here To Edit Your Account Profile" class="userCtrl">host Account</a>

Clear of the cache and a restart of IIS still show the control text in gray. 

 
New Post
3/23/2007 8:24 PM
 
I'm at a loss as to why this isn't working for you. I can verify that this is the same way I am doing it at Demon Chronicles.

The only other suggestion I can say to try is to change the CSS class name to something else and see if it has any effect at all on your skin.

Also, use FireFox as your browser to test this on and download the FireBug extension from the FireFox website. It's a must have for any design development, it really is incredible. You'll be able to inspect any element, edit CSS classes in place, etc., seeing immediate results any changes. You can step through javascript and a bunch of other stuff right at the browser.

The Demon Chronicles site is a 4.4.1 site, not that it makes a difference because I used this skin on earlier versions as well.

As a comparison, heres the section in my skin:

<td colspan="8" background="<%= SkinPath %>images/04.jpg" width="581px" height="27px" valign="top" align="right" alt="">
    <dnn:USER runat="server" id="dnnUSER" Text="Sign-Up" CssClass="user" />
    &nbsp;|&nbsp;
    <dnn:LOGIN runat="server" id="dnnLOGIN" Text="Sign-In" LogOffText="Sign-Off" CssClass="login" />
</td>


Here's the skin's class:

A.user:link, A.user:active, A.user:visited, 
A.login:link, A.login:active, A.login:visited,
A.breadcrumb:link, A.breadcrumb:active, A.breadcrumb:visited,
A.hostname:link, A.hostname:active, A.hostname:visited,
A.terms:link, A.terms:active, A.terms:visited,
A.privacy:link, A.privacy:active, A.privacy:visited,
A.copyright:link, A.copyright:active, A.copyright:visited
{
    color: #ECF123;
    text-decoration: none;
    font-size: 10;
    font-weight: bold;
}


Here's the view source:

<td width="581" valign="top" height="27" background="/PublicPortal/Portals/_default/Skins/Demon - Main/images/04.jpg" align="right" colspan="8">
<a id="dnn_dnnUSER_hypRegister" class="user" href="http://www.demonchronicles.com/PublicPortal/Home/tabid/36/ctl/Register/Default.aspx">Sign-Up</a>
 | 
<a id="dnn_dnnLOGIN_hypLogin" class="login" href="http://www.demonchronicles.com/PublicPortal/Home/tabid/36/ctl/Login/Default.aspx">Sign-In</a>
</td>

 
New Post
3/26/2007 8:17 AM
 
Thank you for your response.  What happens if you set the control to "enable=false"?  I cannot get rid of the gray.  I would think an inline style would take precedence but that is not the case in my testing.  It is an intranet and I don't allow account editing by disabling the control.  I may make yet one more core mod and bypass what seemed like the proper path.  I should probably just ignore these things and bypass.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Cannot change color of User Control Cannot change color of User Control


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