miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Changing the link colors used on the navigation area.

Page  Page 2 of 2:  « Previous  1  2  
Author Paul
Lead Developer
#16 | Posted: 26 Oct 2006 04:05 | Edited by: Paul 
Ok, I've checked the solution I've posted on 23 May 2006 11:32, and it seems it doesn't work for some reason in current version of IE.

Here is the new solution (I think, it's even more comfortable).

Specify in CSS some new class for your menu links:

.menuLinks A:link { color: #0000FF; text-decoration: underline; }
.menuLinks A:visited { color: #00FF00; text-decoration: underline; }
.menuLinks A:active { color: #0000FF; text-decoration: underline; }
.menuLinks A:hover { color: #FF0000; text-decoration: underline; }

Then in templates/main_header.html, you will need to "surround" all link items with <span> tag of the same class. Example:

<tr>
<td class="caption2" colspan="2"><span class="menuLinks"><b> {$l_sepr}{$l_menu[0]}{$l_menu[7]}{$l_menu[3]}{$l_menu[2]}{$l_ menu[1]}{$l_menu[4]}{$l_menu[5]}{$l_menu[6]}{$l_sepr}</b></span></td></tr>
</table>

I found this with the help of echoecho site.

Nothing else needs to be changed. It works in Mozilla, Opera and IE6 (should work also in IE7 as well).

Page  Page 2 of 2:  « Previous  1  2 
How To miniBB Support Forums / How To / Changing the link colors used on the navigation area. Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB