<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body>
{$header}
{$sections}
{$footer}
</body>
</html>
#search .search, #memberlist .memberlist, #calendar .calendar, #help .help {
color: #ffffff;
}
#search .search, #memberlist .memberlist, #calendar .calendar, #help .help #portal .portal {
background: #65a8d6;
color: #f0f7fc;
float: left;
padding: 4px 10px 4px 10px;
-moz-border-radius-topright: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-top-right-radius: 3px;
-webkit-border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
text-decoration: none;
}
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/portal.php" class="portal"><img src="{$mybb->settings['bburl']}/images/theme/2.png" HEIGHT="15 "ALIGN="LEFT">Portal</a></li>
<li><a href="{$mybb->settings['bburl']}/index.php" class="active"><img src="{$mybb->settings['bburl']}/images/theme/3.png" HEIGHT="15 ALIGN="LEFT">Foros</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help"><img src="{$mybb->settings['bburl']}/images/theme/5.png" HEIGHT="15 ALIGN="LEFT">{$lang->toplinks_help}</a></li>
</ul>
</div>
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body id="help">
{$header}
{$sections}
{$footer}
</body>
</html>
(6 Aug, 2011, 4:48 pm)Gmaster escribió: En mi theme no me funciona...
Agregue al global.css esto:
Código:#search .search, #memberlist .memberlist, #calendar .calendar, #help .help #portal .portal {
background: #65a8d6;
color: #f0f7fc;
float: left;
padding: 4px 10px 4px 10px;
-moz-border-radius-topright: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-top-right-radius: 3px;
-webkit-border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
text-decoration: none;
}
Mi header contiene esto:
Código:<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/portal.php" class="portal"><img src="{$mybb->settings['bburl']}/images/theme/2.png" HEIGHT="15 "ALIGN="LEFT">Portal</a></li>
<li><a href="{$mybb->settings['bburl']}/index.php" class="active"><img src="{$mybb->settings['bburl']}/images/theme/3.png" HEIGHT="15 ALIGN="LEFT">Foros</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help"><img src="{$mybb->settings['bburl']}/images/theme/5.png" HEIGHT="15 ALIGN="LEFT">{$lang->toplinks_help}</a></li>
</ul>
</div>
La plantilla misc_help contiene:
Código:<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body id="help">
{$header}
{$sections}
{$footer}
</body>
</html>
Y como podran ver en mi foro no cambia absolutamente nada xD
Que hago mal?
(7 Aug, 2011, 6:09 am)nentab escribió: El CSS lo pusiste mal, te falta una coma después de #help .help.