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 skinningsolpartmenu skinning
Previous
 
Next
New Post
8/15/2007 1:17 PM
 

hallo,

I am trying to style the solpartmenu and I can't figure out how it apply the cssclasses I defined:

the "menuitemcssclass" property should render as a css class for the Menu Item. As far as I understand Menu Items are ALL items of the menu, including rootitems and submenu items. But when I apply css styling it works strangely: some styles they are applied to all items (as I expect), and some styles are applied only to submenu items... I really don't understand what is wrong: do solpartmenu properties have to be written in a precise order in the xml file?

 
New Post
8/16/2007 2:52 AM
 

I answer to myself specifying the problem. What I'm trying to achieve is something similar to the picture:

The code in the xml is this:

 <Object>
  <Token>[SOLPARTMENU:2]</Token>
  <Settings>
   <Setting>
    <Name>display</Name>
    <Value>vertical</Value>    
   </Setting>
   <Setting>
    <Name>menucontainercssclass</Name>
    <Value>QM_MenuContainer</Value>    
   </Setting>
   <Setting>
    <Name>menuitemcssclass</Name>
    <Value>QM_MenuItem</Value>    
   </Setting>   
   <Setting>
    <Name>menuitemselcssclass</Name>
    <Value>QM_MenuItemSel</Value>    
   </Setting>   
   <Setting>
    <Name>menubreakcssclass</Name>
    <Value>QM_MenuBreak</Value>    
   </Setting>   
   <Setting>
    <Name>submenucssclass</Name>
    <Value>QM_Submenu</Value>    
   </Setting>   
   <Setting>
    <Name>userootbreadcrumbarrow</Name>
    <Value>false</Value>    
   </Setting>
   <Setting>
    <Name>usearrows</Name>
    <Value>false</Value>    
   </Setting>   
   <Setting>
    <Name>rootmenuitembreadcrumbcssclass</Name>
    <Value>QM_rootmenuitembreadcrumb</Value>    
   </Setting>   
   <Setting>
    <Name>submenuitembreadcrumbcssclass</Name>
    <Value>QM_submenuitembreadcrumb</Value>    
   </Setting>
   <Setting>
    <Name>rootmenuitemcssclass</Name>
    <Value>QM_rootmenuitem</Value>    
   </Setting>   
   <Setting>
    <Name>rootmenuitemactivecssclass</Name>
    <Value>QM_rootmenuitemactive</Value>    
   </Setting>   
   <Setting>
    <Name>submenuitemactivecssclass</Name>
    <Value>QM_submenuitemactive</Value>    
   </Setting>
   <Setting>
    <Name>rootmenuitemselectedcssclass</Name>
    <Value>QM_rootmenuitemselected</Value>    
   </Setting>   
   <Setting>
    <Name>submenuitemselectedcssclass</Name>
    <Value>QM_submenuitemselected</Value>    
   </Setting>   
   <Setting>
    <Name>rootmenuitemrighthtml</Name>
    <Value><div class="sep"></div></Value>    
   </Setting>      
   <Setting>
    <Name>cleardefaults</Name>
    <Value>true</Value>    
   </Setting>       
  </Settings>
 </Object>

then I define these css in the stylesheet editor:

.QM_MenuItem {
background-color:#ff0000;
border:1px #000000 solid;
margin-bottom:7px;
}

Margin-bottom and border are ignored. I dont know how to render a border of the rootmenuitems and how to have space beetween them. The property "rootmenuitemrighthtml" seems not to render anything of what I set as value. Any idea?

thanks for help

 

 
New Post
8/16/2007 5:09 AM
 

You can realize this by adding a background image to your rootmenuitem classes and styling the TD cells. When you give the menu item the right height, width and padding it will work

.QM_MenuItem TD {
background: transparent url(images/Winterbgtest2.jpg) no-repeat scroll top left;
padding: w x y z;
}

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...solpartmenu skinningsolpartmenu skinning


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