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, ...[LOGIN] and [USER] CSS[LOGIN] and [USER] CSS
Previous
 
Next
New Post
4/23/2006 11:15 PM
 

I have figured out most of how to build these skins but a few things still escape me.  For instance, I have [USER] and [LOGIN] on my main skin but I can't figure out how to control the styles that govern them.  What do I have to do to the xml file?

 
New Post
4/24/2006 2:27 AM
 
all options are listed in the appendix of the Skinning Guide, that comes with the documentation pack (get it from DotNetNuke download page). AFAIR these two controls have a "cssclass" property.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/24/2006 9:42 AM
 
I believe they use the SkinObject class.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
4/26/2006 11:14 AM
 

I had the same problem and I finally wound up viewing the output source of one of my pages, I noticed the elements had an ID assigned and when I made an entry for those in my CSS sheet, I was able to tweak their look. What I found are:

Register/User:
Div ID:  dnn_dnnUSER_hypRegister
defined in CSS as:   #dnn_dnnUSER_hypRegister { }

Login:
Div ID: dnn_dnnLOGIN_hypLogin
defined in CSS as: #dnn_dnnLOGIN_hypLogin { }

Hope that helps

-SB


Wells Doty Jr
Online Content Development
 
New Post
5/1/2006 4:10 PM
 
I don't know if you've solved this yet, but here is what I have figured out.


I define a style to be applied to those tokens in my SKIN.XML file
    <!-- Class for the login control -->
        <Token>[LOGIN]</Token>
            <Settings>
                <Setting>
                    <Name>CssClass</Name>
                <Value>UserStyle</Value>
            </Setting>
        </Settings>
    </Object>
    <!-- Class for the USER control -->
    <Object>
        <Token>[USER]</Token>
            <Settings>
                <Setting>
                    <Name>CssClass</Name>
                    <Value>UserStyle</Value>
                </Setting>
            </Settings>
    </Object>
(I do skins in HTML, if you use Vis Studio or Express, you enter the style directly as a property I think)

Then in your style sheet:

/* style for User and Login tokens */
.userstyle {
    color:#000000;
    font-size: 80%;
    font-weight: normal;}
a.userstyle:link, a.luserstyle:visited, a.userstyle:active {
color: #0D3257;
font-style:normal;
font-weight: normal;
  text-decoration: none;}
a.userstyle:hover {color:#0D3257; text-decoration:underline;} 



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[LOGIN] and [USER] CSS[LOGIN] and [USER] 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