The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
add a background image to your navbits Details »» | |||||||||||||||||||||||||
Just a simple mod that will allow you to add a background image to your navbit table, as per this request.
in your navbar template find the first instance of: Code:
<td class="alt1" width="100%"> Code:
<td class="altbg" width="100%"> Code:
.altbg { background: #FFFFFF url(wherever your image is located.gif) no-repeat top left; height: 54px; width: 100%; vertical-align: text-bottom; } This is my first mod so please go gentle screenshot: Update: As some of you were asking how to have this image stretch through your welcome back column also here's how i've done it: in your navbar template find: Code:
<!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<!-- breadcrumb, login, pm info --> <table class="altbg" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<td class="alt1" width="100%"> <if condition="is_array($navbits)"> Code:
<td width="100%"> <if condition="is_array($navbits)"> Code:
<if condition="$show['member']"> <td class="alt2" nowrap="nowrap"> Code:
<if condition="$show['member']"> <td nowrap="nowrap"> Code:
<else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> Code:
<else /> <td nowrap="nowrap" style="padding:0px"> <!-- login form --> Code:
.altbg { background: #FFFFFF url(streetrod/misc/navbits_bg.gif) repeat-x top left; height: 54px; width: 100%; vertical-align: text-bottom; border: 1px solid #0B198C; } screensot of streched image: all done hope this helps! PLEASE NOTE THE BACKGROUND IMAGE SIZE WILL REMAIN CONSTANT, MEANING IT WILL NOT CHANGE WITH YOUR BROWSER SIZE, ALL THAT WILL HAPPEN IS THE CELL WILL CHANGE SIZE AND EITHER LOOSE SOME OF THE IMAGE OR FILL WITH THE BACKGROUND COLOUR, THE IMAGE SIZE ALL DEPENDS ON THE SIZE OF THE IMAGE YOU'VE CREATED, THEREFOR IF ITS eg 468 WIDE AFTER THE CELL IS LESS THAN 468PX WIDE IT WILL CLIP YOUR BACKGROUND IMAGE, I HOPE THIS CLARIFY'S THINGS A BIT Show Your Support
|
Comments |
#22
|
||||
|
||||
personally i would move your soldier guy over so if things resize he'll not get covered by the welcome/pm column, just a wee suggestion its entirely up to you, just glad i can help
- dave |
#23
|
|||
|
|||
Quote:
BTW, look harder.... |
#24
|
|||
|
|||
hey for thoose who want the background color not to be anything, but stay the original theme, use this code
Code:
.altbg { background: url(Image url.gif) no-repeat top left; height: 54px; width: 100%; vertical-align: text-bottom; } |
#25
|
||||
|
||||
hello
could not get this to work - have this mod https://vborg.vbsupport.ru/showthread.php?t=208865 maybe that is problem? some help? regards macc |
#26
|
||||
|
||||
Quote:
- dave |
#27
|
||||
|
||||
thanks ...will wait ..
regards macc |
#28
|
||||
|
||||
without installing the modification but looking on the authors web site as i cant seem to get on yours, i would suggest trying to remove the class="alt2".
so in the template edit for the rss feed find Code:
<!-- AG Advanced RSS Reader --> <td class="alt2"> Code:
<!-- AG Advanced RSS Reader --> <td> |
#29
|
||||
|
||||
Tipoboy, any tips on doing that "foggy" look on the picture so that it looks more like a background image rather than a very bright image that won't let the navbits be seen properly?
|
#30
|
||||
|
||||
yeah, using adobe photoshop i reduced the opacity to 50% on a transparent background, and saved it as a gif :P
|
#31
|
||||
|
||||
Thanks Tipoboy! :up:
Now I have to find a free photoshop-like program out there as I don't have Adobe Photoshop. Any suggestions on a good one? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|