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, ...changing Module Title font colorchanging Module Title font color
Previous
 
Next
New Post
12/25/2006 7:27 PM
 

Module Title font colors  are controlled be the .head class in the CSS file. I want a white font and a dark background for my title and a white background and black font for the container content. My problem arises when I go to module settings in this configuration. The text for Advanced Settings and Page Settings also uses the .head class and are therefore white font on a white background.  I have been unsuccessful in creating my own class for my titles. If anyone has a suggestion I would be very greatful in learning how you over came this.

 
New Post
12/26/2006 6:34 AM
 

Hello Paskettj

You might find this tutorial useful, (link below) it contains information about all DNN css.

http://www.skinningtoolkit.com/

 

Regards

Lynn


www.seemalta.net
 
New Post
12/26/2006 3:26 PM
 

The classes have to be defined per container file and often we use an 'id' selector to separate things that are similar but may have different colours.

A quick fix would be to have something like this -

In a blue container file - you would use a class identifier for the title to be blue_title - and in the css file - define the blue title details there.

In the white container file - you would have a class identifier for the title to be white_title - and in the css file define the colour there.

For me, it's not that I'm lazy - I just look for efficiency- so, I do generally two sets of classes in all my files that have contrasts that require either white / light or black/dark text.. So I have boring and generic - lightBG and darkBG classes assigned to alot of my skin files and if you follow this method and get all the links nicely formatted, the font sizes right, you just use from file to file. So you don't have to think much - you just know whether it's going to use a lightBG class or a darkBG class.

If you are using ascx you add the class parameters into the actual code, if you are using html and xml - you need to assign this in your xml code as well. 

So the long and short of it all.. (Or perhaps I should say the light and dark of it all) is you need to assign a different class file for each 'skinobject' in different files so it doesn't take on the class of the first container you add to a page which is an all too common occurance until people get the hang of it.

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.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...changing Module Title font colorchanging Module Title 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