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, ...[CurrentDate] font color[CurrentDate] font color
Previous
 
Next
New Post
10/25/2006 4:51 PM
 
For the life of me I can't figure out how to change the font color for [currentdate][login][copyright] or anything else like that.  I got the menu font color changed, i just can't find the other ones.  To make my skin I just followed along with the default skins.  So I have htm, css, xml, and jpg files. 

However, I don't really know what goes in the xml file and I don't know what else I can put in the css file.  I've looked at some free skins to see how they did it and the css file is full of stuff like ".Normal{blah, blah, blah}".  I don't know where that stuff comes from.  I'm editing the css file mostly with VS.NET 2003. 

Any help is appreciated.

-Leyse
 
New Post
10/25/2006 6:33 PM
 

Leyse

The .SkinObject class in the file Default.css is the one that will affects the Search, Date, Breadcrumbs, Login, Register, Copyright, Terms, Privacy.

Since you are using VS.NET it would be easier to work directly on the .ascx file rather than HTML as ultimately those are parsed and converted to .ascx anyway, but the placeholder injecting dynamic content like date, login, menu, content etc. used for HTML and .ascx are different, for example in an HMTL file you would use [LOGIN] token and speicfy the details of that token in the XML file and for an .ascx file you spcify the @Register and user contol tag in your skin file itself, like so... <dnn:Login runat="server" id="dnnLogin" />

To get a comprehensive reference to CSS go to http://www.skinningtoolkit.com/

Read an overview of Skinning at
http://www.dotnetnuke.com/About/WhatAreModulesandSkins/SkinningandGraphicDesign/tabid/469/Default.aspx

also download the Skinning Guide and Navigation WebControls Documentation at
http://www.dotnetnuke.com/About/Documentation/ProjectDocuments/tabid/478/Default.aspx

This will help you understand the concepts much better. If you get stuck with something again then post those questions and we will try to help as much as we can...

 


AGM
infotechniq Inc.
Technology Solutions for Small Business.
www.infotechniq.com

 
New Post
10/25/2006 8:20 PM
 

Hi
The way I did this was to add a new css reference to admin/skins/currentdate.ascx and then add the required css to the .css file.
There may well be better or more correct ways of doing this - I am by no means an expert.
This should work for the others such as copyright too.  I have also used these files to have icons in front of these page tags. 
Be aware that these "mods"may get overwritten if/when you update the dnn installation.

Hope this helps

Ian 


Mutate and Survive
 
New Post
10/25/2006 9:09 PM
 

Changes to the DNN skinning to allow more uniform management through less files means that by default all skinobjects such as the login, currentdate, user, copyright, etc are managed by the .skinobject class.  If you add a .skinobject class to your file it will override the one that exists in the _default/portal.css file. ( I believe that is the correct one by memory)

This does cause some problems with multi coloured skins so for simplicity I suggest you put in two classes like I do for my work - I call one LightBG and one DarkBG and assign the class accordingly, easily and quickly and then I don't have to bother going back to modify the ones that don't work right.

It's also pretty easy to remember.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
10/26/2006 8:42 AM
 
Thanks so much for the help, I plan on reading up on the sites you told me about.  Hopefully it will help.  When i try to open up the ascx file it looks just like the html file except there is some things in yellow at the top and the tags are different as you said. 

I did try adding a .skinobject and specifying a color.  It changed the color of currentdate and copyright.  It didn't change login, breadcrumb, terms, or privacy though.  Strange. 

Thanks again for the help, i'll read up and hope it helps. 

-Leyse
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[CurrentDate] font color[CurrentDate] font color


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