The Arcive of vBulletin Modifications Site. |
|
[HELP] Increase the Size of Category Icons? Details »»
|
|||||||||||||||||||||||||
How Do I Increase the Size of Categories Icons?
How can I increase the size of the icons that represent the categories I make? They are a bit small and I would like to make them 50x50 in size to match the icons that are next to the listing of the games. Any one please help on this one... THANKS! --------------- Added [DATE]1203267158[/DATE] at [TIME]1203267158[/TIME] --------------- I have looked through the skin files but I can not see where the code that controls the size of the category icons is? Any help please? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
open /arcade.php
search for Code:
$the_cat['cat_name'] = "<img src='".$file."' alt='' border='0' width='20' height='20' /> ".$the_cat['cat_name'];
|
|
#3
|
||||
|
||||
|
Domo Arigato! Gracias! and Thank You in a bazillion other languages! LOL
http://www.elite.net/~runner/jennifers/thankyou.htm HAHAHA! --------------- Added [DATE]1203268262[/DATE] at [TIME]1203268262[/TIME] --------------- Now how can I change it so the category icons show up centered above the category name link? So the icon and text link will be on two lines both centered. This will make everything line up much nice... THANKS! |
|
#4
|
||||
|
||||
|
Code:
$the_cat['cat_name'] = "<div align='center'><img src='".$file."' alt='' border='0' width='20' height='20' /><br />".$the_cat['cat_name']."</div>"; |
|
#5
|
||||
|
||||
|
Ok now we are talking awesome looking! I just changed the to <br /> in the same line of code and now all the categories are pimped out much nicer.
|
|
#6
|
||||
|
||||
|
If you ask me this should be coded this way by default...
|
|
#7
|
||||
|
||||
|
Which icon-size do you have now ?
Looks really nice, yes
|
|
#8
|
||||
|
||||
|
I went with 35x35 for the size of my category icons now. I now have 4800+ games in 20 categories installed and all works perfect! Having a way to auto alphabetize the names of the categories in the AdminCP would be helpful. I copied the category names into Word 2007 and did it there and made them into a numbered list. Then I matched the numbers to the category numbers in my AdminCP and arranged them after that to how I wanted them.
I have a huge suggestion but I think I will post it in another area of the forum... |
![]() |
|
|