vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - EASY - Better Looking Site Navigation Bar (https://vborg.vbsupport.ru/showthread.php?t=231732)

soulnothing 12-30-2009 10:00 PM

EASY - Better Looking Site Navigation Bar
 
1 Attachment(s)
https://vborg.vbsupport.ru/external/2009/12/5.png

First go to vBa CMPS> Add Module> Template Module

Module Title - Site Nav
Active - Yes
Template to incude - site_nav
Style - Highlight Your Style
Template Content - (This is just an example of one if you want a full list. then download the text file)
Code:

<tr><td class="alt2">
<table border="1" cellspacing="0" cellpadding="3" width="184" class="portalnav">
<thead><tr><td class="tcat" colspan="2"><center>Your Header</center></td></thead>
<tr><td bgcolor="#f2f0f0" width="100%" onclick="window.location='http://www.Your-Website- URL.org'" style="cursor:pointer; background-color:#f2f0f0" onmouseover="this.style.backgroundColor='#e8e8e8';" onmouseout="this.style.backgroundColor='#f2f0f0';"><span class="portalnav"><img hspace="4" src="http://www.Your-Icon-Url.com/image.png" width="16" height="16" border="0" align="top">Home</span></td></tr></table>

Everything in red you will need to change to what you want it to say and your URLs.
Everything in blue you will need to put what color you want.
In Pink is the width size... you may wanta play around with it a little to set it to your likings or just change it to width="100%"
</table> needs to stay at the very end of your code.
The header colors will be according to what you have on your CSS style sheet.
To edit that you got to Styles & templates> Style Manager> "YOUR STYLE" and select Main CSS in your drop down box. Then find Category Strips... Background will be the color you want to change.

https://vborg.vbsupport.ru/external/2009/12/6.png

to edit this go to Styles and templates> Style Manger > "YOUR STYLE" and select edit templates in your drop down box. Then look for adv_portal_site_nav and double click it (should be up top)

https://vborg.vbsupport.ru/external/2009/12/7.png

Demos: www.extreme-gamers.org
Unofficial Demo: http://nextgenerationgamers.co.uk/

Please Mark as Installed if You Use This

Mod Made By: JarHeaD

soulnothing 12-31-2009 12:22 AM

Reserved........................

Frank Sinatra 12-31-2009 04:05 AM

thanks looks nice, lets try it

soulnothing 12-31-2009 08:54 AM

thank you

betts02 12-31-2009 09:26 AM

great mod mate cheers, just 1 thing ? how do i make the text blacker or darker ? check my site to see, just editing it slowly

NAZIA 12-31-2009 01:53 PM

reserved.. tagging this mod

soulnothing 12-31-2009 07:41 PM

Quote:

Originally Posted by betts02 (Post 1943250)
great mod mate cheers, just 1 thing ? how do i make the text blacker or darker ? check my site to see, just editing it slowly

well the font color is gonna be according to what your default is but you can make it bold or whatever color with simple html around the header names or button names
example of makin it bold

Code:

<tr><td bgcolor="#f2f0f0" width="100%" onclick="window.location='http://www.your-page.org'" style="cursor:pointer; background-color:#f2f0f0" onmouseover="this.style.backgroundColor='#e8e8e8';" onmouseout="this.style.backgroundColor='#f2f0f0';"><span class="portalnav"><img hspace="4" src="http://your-image.com" width="16" height="16" border="0" align="top"><b>Home</b></span></td></tr>
if you dont know much about html .. you can google it and find out the color codes and html codes for color

edit: ok yeah i went to your page and its using your default text color soo all you need to do is add <font color="000000">Home</font> for example on the first button....
and please dont use the exact same icons lol i dont mine u usin some of them but the exact same thing is a lil odd lol

betts02 12-31-2009 09:08 PM

the icons will be coming off mate, just edited some link tops to see it working, most of the images dont work with what i need anyway mate and personally i wont use any images

thanks for the reply

soulnothing 12-31-2009 10:20 PM

no problem ... did you understand what i was meaning by the font color???

Taurus1 01-01-2010 03:41 AM

Very nice thank you. Is it possible for the background to take on the color from different styles? I have some light and dark styles. Thank you.


All times are GMT. The time now is 04:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01069 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete