vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [HowTo] [3.0.3] Match the navbar to default style (https://vborg.vbsupport.ru/showthread.php?t=89891)

Floris 10-06-2004 10:00 PM

[HowTo] [3.0.3] Match the navbar to default style
 
[HowTo] [3.0.3] Match the navbar to default style
By: Floris - http://www.vBulletin-Fans.com/

Description: This tutorial will show you how you can modify the navbar template to update it to use the Inner Border Width settings that you picked. In this case, match it to the default design of vBulletin so it shows the bright white line. Just a small tweak, but many people do ask me how to do it, here is how.

Installation:

* Open the navbar template and find this code:

HTML Code:

<!-- nav buttons bar -->
* Below this, on a new line, add this code:

HTML Code:

<table class="tborder" cellpadding="0" cellspacing="1" border="0" width="100%" align="center" style="border-top-width:0px">
<tr><td>

* Now find this line of code:

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
* And replace it with this line of code:

HTML Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
* Then find this code:

HTML Code:

<!-- / nav buttons bar -->
* And above this, on a new line, add this code:

HTML Code:

</td></tr>
</table>

* Finally, save the template navbar and you are done!

Floris 10-07-2004 08:33 AM

Tweak - shiney border

Description: This little tweak is to replace the bright inner border line color with a normal white color, this gives it a more fresh and shiney look and sometimes helps brighten up your design.

Installation:

* Goto the Main CSS of the style you want to modify, find the class tborder and click on the color box for the attribute 'background', select the white and save the changes.


All times are GMT. The time now is 07:11 AM.

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.00930 seconds
  • Memory Usage 1,718KB
  • 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
  • (6)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete