![]() |
Add a image to Categories
What this does:
Add a image to categories (only Index) :rolleyes:
PHP Code:
PHP Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :banana: , it's little mod :p ~~~~~~~~~~~~~~~~~~~~~~~~~ If your install this hack, Click Install Please ;) |
I did something simlair using CSS2
|
I tried this but i get the image repeating the whole width of the cat header, including over the text. Any ideas?
|
Quote:
I'm not 100% sure because I haven't tried it but this should work. instead of <td class="tcat" style="background-image:url(images/gradients/your-image.gif)" border="0" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> try <td class="tcat" style="background-image:url(images/gradients/your-image.gif); background-repeat:no-repeat" border="0" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> |
Quote:
|
Try this:
background:transparent url(blah) center no-repeat; You can't accurately place it after a variable length of text without inserting it as a proper image, not a background. |
is it possible to have a different image in each catagory.
|
Quote:
PHP Code:
[/COLOR][/COLOR] |
thanks alot allan
|
Thanks Allan,
I am not very good with code yet, is this what i am meant to do? :confused: Code:
<if condition="in_array($forum[1], array(x))"> |
All times are GMT. The time now is 12:47 PM. |
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:
|