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 |
#62
|
||||
|
||||
i'm not getting you mate, could you firstly provide a link to the site where your having the problem?
secondly,a few questions 1. is it the default navbar or have you customized it? 2. did you apply the changes in both your navabr template AND add the additional CSS definitions 3. did you correctly add the path to the image in your CSS thanks - dave |
#63
|
|||
|
|||
Cant inside my forum why first must do register..!!!Its locked for un-registered users..!!!The Style is Marvel II
|
#64
|
||||
|
||||
Unfortunately i dont have that style nor have i used it, i would be more than happy to take a look if you would pm mewith details of a temporary admin account.
tahnks - dave |
#65
|
|||
|
|||
best mod in a long time! Thanks!
|
#66
|
|||
|
|||
how do make your bg img stretchable?
|
#67
|
||||
|
||||
i'm unsure, i suppose you could possibly use either div's or a table and use a left and right image with a filler repeating image never had a need for stretchable image there before but it is certainly interesting, if you'd like me to give it a try pm me
|
#68
|
|||
|
|||
Hey Tipo. Great mod, set it up just fine and it looks fantastic. But I have one problem. The part where it has the page navigation links, the end link doesn't parse.
I don't think I'm explaining it very well, so have a look yourself here The part where the text is black, how do I fix that? |
#69
|
||||
|
||||
Quote:
|
#70
|
|||
|
|||
Wow, thank you so much for that Tipo. You definitely did the job!
|
#71
|
||||
|
||||
i found a way but it really would depend on the image you wish to use, if you want to know more PM me
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|