papak69
01-24-2008, 07:25 PM
is there anyone who is skillful enough and also knows Joomla! CMS to implement the DD glossy horizontal menu (http://www.dynamicdrive.com/style/csslibrary/item/glossy_horizontal_menu/)
into the Joomla template_css.css file (or maybe even some hardcoding has to be done).
I've tried myself, however I am not an advanced css or joomla (ab)user.
Below is my poor attempt at trying, however I cannot get the right background to show.
div#glossymenu
{
/* position: relative; */
padding: 0 0 0 34px;
margin: 0 auto 0 auto;
background: url(../images/menur_bg.gif) repeat-x; /*tab background image path*/
height: 46px;
list-style: none;
}
ul#mainlevel-nav li
{
float:left;
}
ul#mainlevel-nav li a
{
float: left;
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
height: 46px;
line-height: 46px;
text-align: center;
cursor: pointer;
}
ul#mainlevel-nav li a b{
float: left;
display: block;
padding: 0 24px 0 8px; /*Padding of menu items*/
}
#mainlevel-nav li a#active_menu-nav, ul#mainlevel-nav li a:hover{
color: #fff;
background: url(../images/menur_hover_left.gif) no-repeat; /*left tab image path*/
background-position: left;
}
#mainlevel-nav li a#active_menu-nav b, #mainlevel-nav li a:hover a b{
color: #fff;
background: url(../images/menur_hover_right.gif) no-repeat;
background-position: right top; /*right tab image path*/
}
I beg for your assistance since I really like the menu and all the new possibilities it offers.
into the Joomla template_css.css file (or maybe even some hardcoding has to be done).
I've tried myself, however I am not an advanced css or joomla (ab)user.
Below is my poor attempt at trying, however I cannot get the right background to show.
div#glossymenu
{
/* position: relative; */
padding: 0 0 0 34px;
margin: 0 auto 0 auto;
background: url(../images/menur_bg.gif) repeat-x; /*tab background image path*/
height: 46px;
list-style: none;
}
ul#mainlevel-nav li
{
float:left;
}
ul#mainlevel-nav li a
{
float: left;
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
height: 46px;
line-height: 46px;
text-align: center;
cursor: pointer;
}
ul#mainlevel-nav li a b{
float: left;
display: block;
padding: 0 24px 0 8px; /*Padding of menu items*/
}
#mainlevel-nav li a#active_menu-nav, ul#mainlevel-nav li a:hover{
color: #fff;
background: url(../images/menur_hover_left.gif) no-repeat; /*left tab image path*/
background-position: left;
}
#mainlevel-nav li a#active_menu-nav b, #mainlevel-nav li a:hover a b{
color: #fff;
background: url(../images/menur_hover_right.gif) no-repeat;
background-position: right top; /*right tab image path*/
}
I beg for your assistance since I really like the menu and all the new possibilities it offers.