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 Module Title FontChange Module Title Font
Previous
 
Next
New Post
7/17/2007 9:48 AM
 

How can I change all module Title bars text to use the arial font? 

 

I think it is tahoma now, not sure though.

 

Dean

 

 
New Post
7/17/2007 10:07 AM
 

Its the .head class.  I recommend setting the style in your container.css  file or the stylesheet specific to a container if your containers are set up like that.

.

 
New Post
7/17/2007 10:13 AM
 

Title bars are set with .ModuleTitle_MenuItem in a container .ascx file - of course it is normally set on a separate CSS file - just look in ...\Portals\_default\Containers\DNN-Blue\container.css file.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
7/17/2007 10:14 AM
 

Here is the code from my Container.css, where would I need to make the change?

/*
================================
 Container Styles for DotNetNuke
================================
*/  

.containermaster_blue {
    width: 100%;
    background-color: #fefefe;
    border-right: #000099 1px solid;
    border-top: #000099 1px solid;
    border-left: #000099 1px solid;
    border-bottom: #000099 1px solid;
    -moz-border-radius-bottomleft: 15px;
    -moz-border-radius-bottomright: 15px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
}
.containerrow1_blue {
    background-image: url(gradient_LtBlue.jpg);
}
.containerrow2_blue {
    background-color: #fefefe;
}
.ModuleTitle_MenuItem {
    border: white 0px solid; /*override borders*/   
}

.ModuleTitle_MenuItem TD {  /*TD if menu is using tables*/
    cursor: pointer;
    cursor: hand;
    color: #000099;
    font-family: Arial, Tahoma, Helvetica;
    font-size: 9pt;
    font-weight: bold;
    font-style: normal;
    height: 21px;
        white-space: nowrap;  /*Word wrapping menu item now optional*/
        padding: 1px 3px 3px 1px;   
}


.ModuleTitle_MenuIcon {
    cursor: pointer;
    cursor: hand;
    background-color: #EEEEEE;
    width: 15px;
    height: 100%;   /*override the default height for icon so that menubreaks can have heights adjusted*/
}

.ModuleTitle_SubMenu
{
    z-index: 1000;
    cursor: pointer;
    cursor: hand;
    background-color: #FFFFFF;
    filter:progid:DXImageTransform.Microsoft.Shadow(color='DimGray', Direction=135, Strength=3);
    padding: 1px 1px 1px 1px;   /*explicitly set padding for sub-menus */
}

.ModuleTitle_MenuBreak  {
    background-color: #EEEEEE;
    font-size: 1px; /*make sure you take out portal.css ModuleTitle_MenuBreak for this to work*/
}

.ModuleTitle_MenuItemSel {

    cursor: pointer;
    cursor: hand;
    color: black;
    font-family: Arial, Tahoma, Helvetica;
    font-size: 9pt;
    font-weight: bold;
    font-style: normal;
    background-color: #8B7D6B;
}
.USDarkSkinObject {
color:#000099;
}

 
New Post
7/17/2007 10:53 AM
 

Maybe we are talking about two different things.  If you want to change the editible title of a module ("TEXT/HTML" in the editor module, for example) then it is the .head class.   If you use Firefox, I highly recommend installing and learning to use the firebug extension which can be very helpful in tracking down the specific CSS classes in use for a particular element.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Change Module Title FontChange Module Title Font


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