Announcement

Collapse
No announcement yet.

individual navbar colors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jake Bunce
    replied
    Building off of the example code in this thread, you can add the blue code to change the color of the link:

    Code:
    <!-- nav buttons bar -->
    <div align="center">
    	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    	<tr align="center">	
    		<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
    
    		[color=red]<td class="vbmenu_control"><a [color=blue]style="color: #123456;"[/color] href="URL">LINKED TEXT</a></td>[/color]
    
    		<if condition="$show['member']">
    			<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
    		</if>
    		<if condition="$show['registerbutton']">
    			<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
    		</if>
    		<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]">$vbphrase[faq]</a></td>
    		<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
    		<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
    		<if condition="$show['popups']">		
    			<if condition="$show['searchbuttons']">
    				<if condition="$show['member']">
    				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
    				<else />
    				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
    				</if>
    				<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
    			</if>
    			<if condition="$bbuserinfo['userid']">
    				<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
    			</if>
    		<else />		
    			<if condition="$show['searchbuttons']">
    				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a></td>
    				<if condition="$show['member']">
    				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
    				<else />
    				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
    				</if>
    			</if>
    			<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
    			<if condition="$bbuserinfo['userid']">			
    				<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>			
    			</if>			
    		</if>
    		<if condition="$bbuserinfo['userid']">
    			<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a></td>
    		</if>
    	</tr>
    	</table>
    </div>
    <!-- / nav buttons bar -->
    Use whatever color code you want.

    Leave a comment:


  • natbaines
    started a topic individual navbar colors

    individual navbar colors

    Hey, I was just wondering if there was a way to have an individual navbar link in a different color. I tried the <font color=???> but this did nothing.

    Looking forward to help.

    Nathan
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X