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, ...SOLPARTMENU being selective in use of classes????SOLPARTMENU being selective in use of classes????
Previous
 
Next
New Post
10/1/2007 6:29 AM
 

This is driving ne round the twist!!!!

SOLPARTMENU only seems to recognise some of the classes when specified in the .CSS file. Have a look at this page:

http://www.blewis.com.au/Inspire/tabid/61/Default.aspx       (Yes, I know the colour is horrible but that's what the client wants!....)

And here is the relevant snippet from the css file:

/* Main Menu */

.MainMenu_MenuContainer {
    background-color: white;
    text-align: left;
}

.MainMenu_MenuBar    {
    height: 25px;
}

.MainMenu_MenuItem {
    font-size: 12px;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
    background-color: white;
    color: black;
    font-family: Tahoma, Arial, sans-serif;   
    height: 25px;
}
.MainMenu_MenuIcon    {
    display: none;
}
   
.MainMenu_SubMenu {
    z-index: 1000;
    cursor: pointer;
    cursor: hand;
    background-color: #EFEFEF;
    filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3);
    height: 25px; 
}

.MainMenu_MenuBreak {   
}

.MainMenu_MenuItemSel {
    background-color: #efefef;
    cursor: pointer;
    color: black;
    font-family: Tahoma, Arial, Helvetica;
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    height: 25px;
}

.MainMenu_MenuArrow {
    font-family: webdings;
    font-size: 30px;
    cursor: pointer;
    width: 30px; 
}

.MainMenu_RootMenuArrow {
    font-family: webdings;
    font-size: 30px;
    cursor: pointer;
    width: 30px;
}

If you change, for example, the .MainMenu_MenuItem background-color or height attributes then these make a difference to the menu design. But nothing that should affect the displayed text seems to work: for example changes to color, or font-size make no difference.

 

Can anyone PLEASE point out what's wrong with the .css file or suggest some sort of explanation. I am just on the point of throwing SOLPARTMENU away entirely in frustration and forking out the cash for a third party product.

TIA,

Graham

 

 

 
New Post
10/1/2007 8:30 AM
 

Hi,

As far as I can see there are some "hard coded" classes inside your solparmenu. like :

FontStyle="font-family: Tahoma,Arial,Helvetica; font-size: 9pt;...etc:
Try to delete them first.
I guess it is in the ascx file, or any where else where the solpartmenu "sits".

www.nukedesigners.com W3C compliant Valid skins for dotnetnuke.
 
New Post
10/1/2007 8:37 AM
 

Hi,

As far as I can see there are some "hard coded" classes inside your solparmenu. like :

FontStyle="font-family: Tahoma,Arial,Helvetica; font-size: 9pt;...etc:
Try to delete them first.
I guess it is in the ascx file, or any where else where the solpartmenu "sits".
Second of all, if you clear your "TD" classes then you will be able to make the changes you need to make. :)
 
 

www.nukedesigners.com W3C compliant Valid skins for dotnetnuke.
 
New Post
10/2/2007 5:48 AM
 

OK....

So I've taken out the TD class entries from the skin .CSS file and can now change the fonts like I want.

Now I'm really confused!

Why would having anything in a TD class affect SOLPARTMENU? What am I missing here?

I put stuff into the TD class so that it would set the styles for the entire site (and particularly the Text/HTML editor which is what the end-users of this system will almost exclusively be using). I would have expected the settings under .Main_Menu.... to override these since they are specific to the SOLPARTMENU token? Obviously not, but how then do I achieve what I want, which is to define styles for the site as a whole which affect all the user-editable content, but then run different settimgs for fonts etc on the menu???

I've been reading all the skinning docs recommended but clearly haven't quite grasped everything yet.

Thanks for your help so far, please help a noob a little more!

TIA,

Graham

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SOLPARTMENU being selective in use of classes????SOLPARTMENU being selective in use of classes????


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