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...Administration ...Administration ...Modifying core modulesModifying core modules' CSS attributes?
Previous
 
Next
New Post
8/12/2006 4:11 PM
 

Hi,

In the Admin > Site Settings -page there's a Stylesheet Editor which to my understanding enables to modify the contents of portal.css -file located in the Host Root -folder. When I modify the following line,

/* style of item titles by Announcements and events */
.ItemTitle    {
}

trying to change the aspect of Announcements' titles, nothing happens. Events' titles do change, though. How could I change those Ann titles, what's the correct CSS class?

And even more, is there a complete and documented listing of all CSS classes used in all the DNN core modules somewhere? I'd like to be able to modify every CSS aspect of all the core modules, but really don't know how to get a grip of them.

Regards, Heikki.

 

 
New Post
8/13/2006 7:08 PM
 

The portal.css is what the site settings editor changes. This is overwritten by the skin.css and/or skinname.css of the currently used skin. Check for the later two in your skin folder and modify either one of those. (NOrmally both will not have the same classes, depends on the designer though).

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
8/14/2006 3:26 PM
 

Thank you for the reply. I went to study a little more and found that the CSS class of Announcement titles is in fact .SubHead in the portal.css file. I found exactly the same class name in my skin.css too, and after testing noticed that settings in portal.css rule over the ones in skin.css if a particular class name is found in both files.

The comments explaining the classes in portal.css seem to be a mess, please someone correct me if I'm wrong. For instance, portal.css says for .SubHead

/* style of item titles on edit and admin pages */

and the skin.css which I happen to have says incorrectly

/* Used in admin sections */

In this situation, I guess that the classes have to be sought out one by one from the core modules' Install .ascx files, which is quite tedious. In the case of DNN 4.0.3 and Announcements module, this would be the Announcements.ascx file, for example.

Any ideas and/or corrections to this post are most welcome, since I'm quite a newbie to DNN yet.

Regards, Heikki.

 
New Post
8/14/2006 4:25 PM
 

Chris,

AFAIR from the skinning document, the skin include order is like follows:

  • default.css
  • skin css
  • module css
  • portal.css

am I wrong?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/14/2006 5:26 PM
 

It's actually:

default.css --> skin.css --> portal.css --> module.css

The module.css won't get added until the module is added to the page.

**Quick Tip:  To find the order of CSS and what files are actually being used on any given page, use "View Source" and search for ".CSS"  the order you find them in from the top are the order in which they are added in the DOM.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Modifying core modulesModifying core modules' CSS attributes?


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