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)
-   -   Forum Display Enhancements - add a background image to your navbits (https://vborg.vbsupport.ru/showthread.php?t=208833)

tipoboy 03-21-2009 09:28 PM

yea i'm using IE are you wanting the navbits removed or aligned right? :D

- dave

ArnyVee 03-21-2009 09:34 PM

Hmm....can you tell me how to do each so that I can try and see if it looks good enough to keep? Please :D

Edited: Or, do you think that it would look better with the image itself aligned to the right since the left side of the image is that gray color and would blend in better with the background?

tipoboy 03-21-2009 09:39 PM

to remove all you need to do is remove this code:

Code:

<if condition="is_array($navbits)">
  <table cellpadding="0" cellspacing="0" border="0">
  <tr valign="bottom">
    <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
    <td>&nbsp;</td>
    <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
  </tr>
  <tr>
    <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
  </tr>
  </table>
  <else />
  <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
  </if>

and repalce with:
Code:

&nbsp;
to align right i'll work out in a minute, i'm going to try and use a css to be browser compliant

tipoboy 03-21-2009 10:02 PM

could you provide your navbar template please ArnyVee

ArnyVee 03-21-2009 10:09 PM

Sent you an email with the navbar template Dave! :)

Thanks for your help! :up:

tipoboy 03-21-2009 10:56 PM

Quote:

Originally Posted by ArnyVee (Post 1773705)
Hmm....can you tell me how to do each so that I can try and see if it looks good enough to keep? Please :D

Edited: Or, do you think that it would look better with the image itself aligned to the right since the left side of the image is that gray color and would blend in better with the background?


arny unfortunately i could quite manage to get the nav bits to move to the right whatever i did the navbit_start.gif wouldn't move(see screeny1) the only way i could resolve was to remove the navbit_start.gif cell from the table (screeny2)

screeny 1:
http://www.scottishwheelnuts.co.uk/images/screeny1.gif

screeny 2:

http://www.scottishwheelnuts.co.uk/images/screeny2.gif
sorry i cant help further like i said i'm still trying to learn myself

- dave

ArnyVee 03-21-2009 11:14 PM

No problem Dave! Thanks for giving it a go! :up:

I appreciate you trying to assist me. I'm going to remove it and see if I don't get too many complaints from folks ;)

Thanks again!

tipoboy 03-21-2009 11:20 PM

no prob arny just sorry i couldnt help further, hopefully someone with a bit more knoledge might be able to help

- dave

ArnyVee 03-21-2009 11:31 PM

Dave, I removed all of it, so now it's just a cleaner look. :)

Now, I have to figure out how to put that same gray color behind the 'welcome' section and the other two parts (the 'feed' part, I think I have, but not the others).

tipoboy 03-21-2009 11:44 PM

all you need to do is add some css attributes to your additional css at the bottom of your main css page add:

Code:

.altbgcolor {
 color: #000000;
 background-color: #CCCCCC;
}

and in your navbar template find:
Code:

<td class="alt2">
<DIV ALIGN=RIGHT>

and replace with:
Code:

<td class="altbgcolor">
<DIV ALIGN=RIGHT>

and find:

Code:

<td class="alt2">
<a href="http://www.waltdisneyboards.com/external.php?type=rss2"><img
src="http://www.waltdisneyboards.com/imag.../feed-icon.gif" border="0" alt="WDB
News Feed" />

and replace with:
Code:

<td class="altbgcolor">
<a href="http://www.waltdisneyboards.com/external.php?type=rss2"><img
src="http://www.waltdisneyboards.com/imag.../feed-icon.gif" border="0" alt="WDB
News Feed" />

and if you want to change the welcome back pm box color too find:

Code:

<td class="alt2" nowrap="nowrap">
and replace with:

Code:

<td class="altbgcolor" nowrap="nowrap">
and find:
Code:

<td class="alt2" nowrap="nowrap" style="padding:0px">
and replace with:
Code:

<td class="altbgcolor" nowrap="nowrap" style="padding:0px">
and that should make your colour similar arny :D


All times are GMT. The time now is 05:45 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.01178 seconds
  • Memory Usage 1,749KB
  • 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
  • (11)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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