The Arcive of vBulletin Modifications Site. |
|
Navbar Gradient Background Details »»
|
|||||||||||||||||||||||||
Navbar Gradient Background
What it does: Adds a gradient background to the breadcrumb area of your navbar using CSS. Time to install: 2 Minutes Difficulty: Easy Templates: 1 CSS Edit: 1 Demo: http://www.sevenstring.org Note: This only works in IE, but has a secondary tag added so that Firefox displays the standard non-gradient background. It uses DXImageTransform, which will most likely not validate. That said, this hack will remain beta until I find a better way to do it. AdminCP -> Styles & Templates -> Style Manager -> Your Style -> Main CSS -> Additional CSS Definitions At the bottom, add: Code:
/***** navbar gradient *****/
.navgradient
{
filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#startcolor,endColorStr=#endcolor);
background: #defaultcolor;
}
Example: Code:
/***** navbar gradient *****/
.navgradient
{
filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#333333,endColorStr=#000000);
background: #333333;
}
Look for: Code:
<!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> Code:
<td class="navgradient" width="100%"> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Very nice
|
|
#3
|
|||
|
|||
|
Looks much smother, thank you...Installed
|
|
#4
|
||||
|
||||
|
That's pretty good. Thanks!
|
|
#5
|
|||
|
|||
|
Thanks guys.
I added another screenshot of it in use on my actual site. My gradient is a bit dark due to my theme being mostly dark colors, but it should give a better idea of what this does.
|
|
#6
|
|||
|
|||
|
i like - installed
|
|
#7
|
|||
|
|||
|
nice job. Might use it once I start making changes.
|
|
#8
|
||||
|
||||
|
I like it but I have a request... Can you tell me how to make it like:
Black faded into red then back into black? So that both ends will be the same color and the middle will be different. |
|
#9
|
|||
|
|||
|
Quote:
|
|
#10
|
||||
|
||||
|
How do i do this with an image ?
|
![]() |
|
|