View Full Version : Help please
sdawkins
06-07-2006, 11:54 PM
Can someone tell me how in I change the
active link to also be a tab instead of just text. The background image
doesn't work. I do not want to tinker with anything I should not.
http://www.findtoplinks.com/templates/home.jpg
Pelase post css code you have for your
ul.menu li
and
ul.menu li a
sdawkins
06-10-2006, 04:22 PM
div.navcontainer
{
width: 20em;
padding: 0 0 1em 0;
margin-bottom: 1em;
font-family: Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
background-color: #e4e4e4;
color: #333;
}
#menu8 {
width: 200px;
margin-top: 5px;
list-style-type: none;
}
#menu8 li a {
text-decoration: none;
height: 32px;
voice-family: "\"}\"";
voice-family: inherit;
height: 24px;
}
#menu8 li a:link, #menu8 li a:visited {
color: #777;
display: block;
background: url(../images/menu8.gif);
padding: 8px 0 0 20px;
}
#menu8 li a:hover {
color: #257EB7;
background: url(../images/menu8.gif) 0 -32px;
padding: 8px 0 0 25px;
}
#menu8 li a:active {
color: #fff;
background: url(../images/menu8.gif) 0 -64px;
padding: 8px 0 0 25px;
}
#menu8 {
width: 200px;
margin-top: 5px;
list-style-type: none;
}
#menu8 li a {
text-decoration: none;
height: 32px;
voice-family: "\"}\"";
voice-family: inherit;
height: 24px;
}
#menu8 li a:link, #menu8 li a:visited {
color: #777;
display: block;
background: url(../images/menu8.gif);
padding: 8px 0 0 20px;
}
#menu8 li a:hover {
color: #257EB7;
background: url(../images/menu8.gif) 0 -32px;
padding: 8px 0 0 25px;
}
#menu8 li a:active {
color: #fff;
background: url(../images/menu8.gif) 0 -64px;
padding: 8px 0 0 25px;
}
Try to change this part:
#menu8 li a {
text-decoration: none;
height: 32px;
voice-family: "\"}\"";
voice-family: inherit;
height: 24px;
}
to this:
#menu8 li {
color: #fff;
background: url(../images/menu8.gif) 0 -64px;
padding: 8px 0 0 25px;
height: 32px;
}
sdawkins
06-10-2006, 06:22 PM
No luck WTM :(
Thanks for trying.
Since it did that with numerous menus I tried I thought it might be this line in the layout.php
$url = $value['url'];
$caption = $value['caption'];
if (($key == $gTab) && (0 == $aCategory))
{
$out .= "<li class=\"active\" {$style}><div>{$caption}</div></li>";
}
else
try to change all
#menu...
to
.menu...
If you use #menu you have to use "ID" instead of "class"
Sharon if you want to give me ftp access and describe how exactly you want it to look I should be able to fix that
sdawkins
06-10-2006, 07:21 PM
I am using ID -- this is the code in header.tpl
<div class="navcontainer">
<div id="menu8">{$menu}</ul>
As I said, I tried using different menus (from open source, as well as the one I am using from another free menu site) and have had the same issue with all.
sdawkins
06-10-2006, 07:23 PM
Sharon if you want to give me ftp access and describe how exactly you want it to look I should be able to fix that
Thanks, will send you an email.
Sharon
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.