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, ...How to change font of register and login modulesHow to change font of register and login modules
Previous
 
Next
New Post
8/19/2009 8:18 PM
 
Hi All, Can someone please give me precise intructions on how to change the font on the register and login modules? The fields (username, password, etc.) all blend in with the background of my website because they are similar in color and I am desperate to figure out a way to change the font color. Thanks!
 
New Post
8/20/2009 5:15 PM
 

Hi

Please see this post: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/threadid/321163/scope/posts/Default.aspx

I have provided a solution that might help.

If this answer is good, please mark your query as answered.

Thanks

Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/21/2009 1:09 PM
 
Hi Jon, This post is informative, but it did not help me. It only tells me how to change the icon. I need to know how to change the font and color of these fields. Thanks.
 
New Post
8/21/2009 1:54 PM
 

 Amer - these fields have a class defined called ".NormalTextBox" - you should be able to modify the style of the content in these fields using this class. 

 
New Post
8/21/2009 5:44 PM
 

Amer wrote
Hi Jon, This post is informative, but it did not help me. It only tells me how to change the icon. I need to know how to change the font and color of these fields. Thanks.

Amer.

Perhaps if you had taken the time to study the post that not only shows you how to change the icon (which at some point might be a question you would ask), but also gives you - quite literally - the answer in a free CSS example.  I must apologise if I'm coming off a little rude, but this is a place of learning and sharing and I was hoping you could learn from what I had shared...

So here we go again...

Here's some HTML:

<dnn:LOGIN runat="server" id="dnnLOGIN" cssclass="login_control" />
<dnn:USER runat="server" id="dnnUSER" cssclass="user_control" />

 These two bits tell each of the controls to assign that specific class to the control / skin object.  The Login must pull its CSS rulesets from the CSS class: ".login_control" from the skin.css file.  The User must in turn pull its CSS rulesets from the CSS class: ".user_control" also found in the skin.css file.  This method is used in the .ASCX skinning method.

Next, you'll need to write the CSS for the rulesets into your skin.css file, like so:

a.login_control:active, a.login_control:visited, a.login_control:link, .login_control {
    color: #777;
    font-size: 13px
;
    background-image: url('../images/login_sprite.gif');
    background-position: left bottom;
    background-repeat: no-repeat;
    margin: 0px 20px 0px 0px;
    padding: 0px 0px 0px 35px;
    height: 30px;
    text-decoration: none;
    display: block;
    float: left;
    line-height: 30px;
}
a.login_control:hover {
    background-position: left top;
    color: #fff;
    text-decoration: none;
}
a.user_control:active, a.user_control:visited, a.user_control:link, .user_control {
    color: #777;
    font-size: 13px;

    background-image: url('../images/reg_sprite.gif');
    background-position: left bottom;
    background-repeat: no-repeat;
    text-decoration: none;
    margin: 0px 20px 0px 0px;
    padding: 0px 0px 0px 35px;
    height: 30px;
    display: block;
    float: left;
    line-height: 30px;
}
a.user_control:hover {
    background-position: left top;
    color: #fff;
    text-decoration: none;
}
 

 And, would you look at that, highlighted are the selectors "color" and "font-size", which might just answer your question.

Or you could do as Patrick* advises and just edit the ".NormalTextBox" class (which is absolutely correct as well), but which would assume that:

  1. you're using a skin that uses that class for that skin object
  2. and that you're happy you'll be changing every other bit of text that has that class assigned to it

FYI - No, you don't need to include all the other fancy floats and background images and padding if you don't want to...

Either way, you're going to have to know a little bit of HTML and CSS - fundamental to websites in general.  CSS is our friend.

*No offence at all Patrick - love your guys' work.


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change font of register and login modulesHow to change font of register and login modules


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