I figured out how to change the [LOGIN] and [SEARCH] items to a different font and color. But the same technique I used for those does not work for [USER].
In my skin.xml file, I have these objects for [LOGIN], [SEARCH], and [USER]:
<!-- [LOGIN] -->
<Object>
<Token>[LOGIN]</Token>
<Settings>
<Setting>
<Name>Text</Name>
<Value><![CDATA[<font class="Login">Login</font>]]></Value>
</Setting>
<Setting>
<Name>CssClass</Name>
<Value>Login</Value>
</Setting>
<Setting>
<Name>LogoffText</Name>
<Value><![CDATA[<font class="Login">Logoff</font>]]></Value>
<!-- Text of the log off link -->
</Setting>
</Settings>
</Object>
<!-- [SEARCH] -->
<Object>
<Token>[SEARCH]</Token>
<Settings>
<Setting>
<Name>CssClass</Name>
<Value>Search</Value>
</Setting>
<Setting>
<Name>Submit</Name>
<Value><![CDATA[<font class="Search">Search</font>]]></Value>
</Setting>
</Settings>
</Object>
<!-- [USER] -->
<Object>
<Token>[USER]</Token>
<Settings>
<Setting>
<Name>Text</Name>
<Value><![CDATA[<font class="User">Register</font>]]></Value>
</Setting>
<Setting>
<Name>CssClass</Name>
<Value>User</Value>
</Setting>
</Settings>
</Object>
In my skin.css file, I have these styles:
.Login {
text-decoration: none;
color: #FFFFFF;
font-family: Verdana, Tahoma, Helvetica;
font-weight: bold;
font-size: 8.5pt;
}
.Search {
text-decoration: none;
color: #FFFFFF;
font-family: Verdana, Tahoma, Helvetica;
font-weight: bold;
font-size: 8.5pt;
}
.User {
text-decoration: none;
color: #FFFFFF;
font-family: Verdana, Tahoma, Helvetica;
font-weight: bold;
font-size: 8.5pt;
}
The word "Search", and the word "Login" or "Logoff" now show up in white. The word "Register" shows up in white. But, once you log in, the user's name still show up in black. When you hover over it, it turns red.
I must be missing a setting in the [USER] token. I am new to DotNetNuke and was following the instructions in the DotNetNuke Skinning Guild that I downloaded from this site. On page 56, it lists only the Text and the CssClass attributes for the [USER] token. It seems like there should be another setting like there was for Login/Logoff.
Sorry, I don't have a URL that you can visit. I'm learning all this on my home network and have not posted it on a public server anywhere.
Thanks in advance!