2013-03-24, 02:52 AM
2013-03-24, 03:00 AM
ACP > Templates & Themes > Themes > {Select theme} > global.css
In there you'll see the CSS for the links.
Do note that changing the color of the <a /> will replace all hyperlinked colors. If you want a specific link change, you can create a new class in the global.css
Something like that would do for the CSS. You'd then need to go into corresponding templates and add
in the <a href=[STUFF HERE] etc. />
So it'd be like
That should work, try it out.
Regards,
Hydra
In there you'll see the CSS for the links.
Do note that changing the color of the <a /> will replace all hyperlinked colors. If you want a specific link change, you can create a new class in the global.css
.top_links {
color:#0000000;
}
.top_links:hover {
color:#0A0A0A;
}
.top_links:visited {
color:#000000;
}
Something like that would do for the CSS. You'd then need to go into corresponding templates and add
class="top_links"
in the <a href=[STUFF HERE] etc. />
So it'd be like
<a href="http://www.google.com" class="top_links" >Top Links</a>
That should work, try it out.
Regards,
Hydra
2013-03-24, 03:13 AM
(2013-03-24, 03:00 AM)iHydra Wrote: [ -> ]ACP > Templates & Themes > Themes > {Select theme} > global.css
In there you'll see the CSS for the links.
Do note that changing the color of the <a /> will replace all hyperlinked colors. If you want a specific link change, you can create a new class in the global.css
.top_links { color:#0000000; } .top_links:hover { color:#0A0A0A; } .top_links:visited { color:#000000; }
Something like that would do for the CSS. You'd then need to go into corresponding templates and add
class="top_links"
in the <a href=[STUFF HERE] etc. />
So it'd be like
<a href="http://www.google.com" class="top_links" >Top Links</a>
That should work, try it out.
Regards,
Hydra
Where would I add the class_toplinks if my code is:
<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>