Hello,
I am using DNN for the first time and am trying to install a new skin. I am using version 5.0 and was doing perfectly fine until the very last section, modifying the menu bar.
Having looked through the forum for dotnetnuke.com I have not been able to find an answer.
I am wanting to be able to create a horizontal navigation bar with a black background set as a image called nav-bar.jpeg and an orange oval shaped image behind the text of each link called menu_icon.jpeg.
The css code I currently have for the menu is:
.menupane
{
background-image: url (nav_bar.jpeg);
background-color: #000000;
background-position: left top;
background-repeat:repeat-x;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
}
.MainMenu_MenuContainer {
padding-left: 5px;
padding-right: 7px;
padding-top: 0px;
border: 1px solid #000000;
height: 63px;
}
.MainMenu_MenuBar {
cursor: pointer;
cursor: hand;
height:62px;
background-color: Transparent;
}
.MainMenu_MenuItem {
background-image: url(menu_icon.jpeg);
border-left: #000000 0px solid;
border-bottom: #000000 1px solid;
border-top: #000000 1px solid;
border-right: #000000 0px solid;
cursor: pointer;
cursor: hand;
color: #000000;
font-size: 9pt;
font-weight: bold;
font-style: normal;
background-color: Transparent;
font-family: Tahoma, Arial, Helvetica;
height: 50px;
}
.MainMenu_MenuIcon {
background-color: #000000;
border-left: #cad5ea 0px solid;
border-bottom: #cad5ea 0px solid;
border-top: #cad5ea 0px solid;
cursor: pointer;
cursor: hand;
text-align: center;
width: 15px;
height: 50px;
}
.MainMenu_SubMenu {
background-color: #fab913;
z-index: 1000;
cursor: pointer;
cursor: hand;
filter:progid:DXImageTransform.Microsoft.Shadow(color='#696969', Direction=135, Strength=3);
}
.MainMenu_MenuBreak {
height: 1px;
}
.MainMenu_MenuItemSel {
background-color: #8da4d3;
cursor: pointer;
cursor: hand;
color: black;
font-family: Tahoma, Arial, Helvetica;
font-size: 9pt;
font-weight: bold;
font-style: normal;
height: 21px;
}
.MainMenu_MenuArrow {
border-right: #cad5ea 1px solid;
border-bottom: #cad5ea 1px solid;
border-top: #cad5ea 0px solid;
font-family: webdings;
font-size: 10pt;
cursor: pointer;
cursor: hand;
}
.MainMenu_RootMenuArrow {
font-family: webdings;
font-size: 10pt;
cursor: pointer;
cursor: hand;
}
For the html menu section I have:
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td class="menupane" id="MenuPane" runat="server" height="62px" valign="top" align="left">[MENU]</td>
</tr>
</table>
</td>
</tr>
Please can someone advise how to sort this out.
Many thanks,
Trevor