oneniner wrote
Hi JoeYaya.
From your site it appears that you figured it out.
The Solpart menu is not a trivial thing to style, so remember to share your knowledge - others could face the same challenge and end up here, searching for a hint.
\tom
Well actually not. I replied to my own mesage to give an update but the message never appeared.
Observe the following screenshot:
Now a different but related problem appears. Now the main menu item text (Home. etc.) and the tabbed item text (Admin) are the same color while the sub menu items are another color. Utimately the problem is that I cannot seem to specify three different colors. (1) Main menu items not under tab (2) Main menu item under the tab and (3) sub menu items. Ultimately the problem is that they should all three be separate colors.
relevant source code snips of how I got the above are pasted below.
So again any help would be appreciated.
Joe.
ASCX:
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU"
rootmenuitemcssclass="MainMenu_RootMenuItem"
rootmenuitembreadcrumbcssclass="MainMenu_RootMenuItemActive"
submenuitemselectedcssclass="MainMenu_SubMenuItemSelected"
userootbreadcrumbarrow="false"
leftseparatorbreadcrumb="<img src="images/richecho_menusel_lft.gif">"
rightseparatorbreadcrumb="<img src="images/richecho_menusel_rgt.gif">"
menubarheight="32"
menuborderwidth="0"
menuitemheight="28"
usearrows = "false"/>
CSS:
.MainMenu_RootMenuItemActive
{
/* active bc background but no text color change - in original */
font-family: Arial,Sans-Serif;
color: #000000;
background-image: url(images/richecho_menusel_ctr.gif);
background-repeat: repeat-x;
max-height: 28px;
height: 28px;
padding-right: 0px;
padding-left: 0px;
font-size: 9px;
vertical-align: middle;
}
.MainMenu_MenuItemSel
{
/* sub menu item selected - In original */
cursor: pointer;
cursor: hand;
color: black;
font-size: 9pt;
font-style: normal;
font-family: Arial,Sans-Serif;
color: #ffffff;
background-color: #25cb78;
font-weight: normal;
}
.MainMenu_MenuItem
{
/* submenu not selected - in original*/
cursor: pointer;
cursor: hand;
font-style: normal;
border-left: white 0px solid;
border-bottom: white 0px solid;
border-top: white 0px solid;
border-right: white 0px solid;
background-color: Transparent;
font-family: Arial,Sans-Serif, Helvetica;
color: #000000;
font-weight: normal;
font-size: 9pt;
}
.MainMenu_RootMenuItem TD
{
/* root menu items not sel incl breadcrumb */
cursor: pointer;
cursor: hand;
font-style: normal;
border-left: white 0px solid;
border-bottom: white 0px solid;
border-top: white 0px solid;
border-right: white 0px solid;
background-color: Transparent;
font-family: Arial,Sans-Serif, Helvetica;
color: #ffffff;
font-weight: normal;
font-size: 9pt;
}
.MainMenu_SubMenu {
/* no text color effect - in original*/
z-index: 1000;
cursor: pointer;
cursor: hand;
background-color: #eadeb2;
color: #000000;
font-weight: normal;
}
.MainMenu_SubMenuItemSelected
{
/* in original */
color: #006633;
font-weight: normal;
background-color: #d2b85b;
}