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, ...Change color of repository?Change color of repository?
Previous
 
Next
New Post
8/18/2007 2:21 AM
 

Hi,

How can I change the color of the repository module? I want it to match my page:

http://www.workathomeparadise.com/MembersArea/HomeBusinesseBooks/tabid/187/Default.aspx

Thanks!

 
New Post
8/18/2007 12:36 PM
 

Looks like it has a hardcoded html background-color in it:


<tr bgcolor="white" width="100%">

The table has a class normal though, so you could add this to you stylesheet:

table.normal tr{
background-color:#0C8F7;
}

Since this is CSS it will overwrite the white background set in the HTML.

 
New Post
8/18/2007 7:41 PM
 

Thanks Timo. I am honing my skills with css and oop in general, and really enjoying it. Could you possibly briefly explain the meaning of class normal for me (and whoever else wants to know)? Also, in "table.normal tr", what parts of that refer to what? I want to understand what I am doing.

Thanks again,

Ken

 
New Post
8/19/2007 8:30 AM
 

The repository module does not have any hard-coded attributes, it's output is entirely template driven. To change colors, layouts, font, etc. just modify the repository template you are using, or create a new one. I would suggest reading the User's Guide on the Project Downloads page for more information about the templating feature of the Repository module.

 
New Post
8/20/2007 4:50 AM
 

@Steve
Okay, sorry. I didn't realize since it's not visible in the UI. (they are called skins there)

@Ken
This means you could remove the color in the template and it should be transparent, but you will have to upload the new template by FTP.
(Read the users guide)
The .normal class is used in DNN for almost all your custom content. most modules are contained in a table or div with class=normal

The table.normal is the table containing the table row (TR) which has the color set to white.

The CSS addresses it and overwrites the color.

The danger of this is that if any other module would have a table.normal all the TRs would get the blue color.
I ufess this is not a problem for your curretn site, but it could be for another.
So it's safer to edit the template

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Change color of repository?Change color of repository?


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