![]() |
Gradient in postbit
1 Attachment(s)
Heya Guys, i was wondering how to go about adding a gradient to the postbit like ZT has here.
basically i'd like different gradients depending on the rank of the member, so for admins i might have a black gradient, for smods a white maybe and so on. what should i do to achieve this result? may thanks in advance to the people who remedy my answer. |
https://vborg.vbsupport.ru/showthread.php?t=141272
So, in postbit_legacy, you find Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px; background-image: url ();"> Code:
url (<if condition="is_member_of($post, 6)">admin_image.jpg<else /><if condition="is_member_of($post, 5, 7)">mod_image.jpg<else />regular_image.jpg</if>) Oh, and you should use background instead of background-image if you want to use things like "no-repeat" or "center" Code:
background:url(stuff from last step) no-repeat top left; Code:
<td align="center" |
thanks for the responce, 'll give this ago when i've got my net back up and running at home.
thanks again thats a real help ^_^ |
All times are GMT. The time now is 05:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|