Log in

View Full Version : [HELP] Increase the Size of Category Icons?


yotsume
02-16-2008, 04:56 PM
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 1203267158 at 1203267158 ---------------

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?

MrZeropage
02-17-2008, 02:57 PM
open /arcade.php

search for$the_cat['cat_name'] = "<img src='".$file."' alt='' border='0' width='20' height='20' />&nbsp;".$the_cat['cat_name'];

you can change width and height there :)

yotsume
02-17-2008, 03:03 PM
Domo Arigato! Gracias! and Thank You in a bazillion other languages! LOL

http://www.elite.net/~runner/jennifers/thankyou.htm

HAHAHA!

--------------- Added 1203268262 at 1203268262 ---------------

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!

MrZeropage
02-17-2008, 03:14 PM
$the_cat['cat_name'] = "<div align='center'><img src='".$file."' alt='' border='0' width='20' height='20' /><br />".$the_cat['cat_name']."</div>";

yotsume
02-17-2008, 03:21 PM
Ok now we are talking awesome looking! I just changed the &nbsp; to <br /> in the same line of code and now all the categories are pimped out much nicer.

yotsume
02-17-2008, 03:26 PM
If you ask me this should be coded this way by default...

MrZeropage
02-19-2008, 02:39 PM
Which icon-size do you have now ?

Looks really nice, yes :)

yotsume
02-19-2008, 03:47 PM
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...