Changing calendar icons

Started by loudog, March 12, 2005, 04:10:25 PM

Previous topic - Next topic

loudog

I'd like my calendar Icon to be bigger at the bottom of the forum, so people are more incouraged to look at it, and click it. Right now its so small you'd never guess it to be a linked image. Unlike other images, you can not simply upload a bigger image, and I've been unable to find the code needed to change the size of the icon internally. Any help would be great,

Thanks Lou

Apnomis

If I remember rightly that part of code is in boardindex.template.php. Open it up and search for the name of the image "calendar.gif" or whatever it's called, failing that look for the // description that mentions upcoming events. Then have a look how the table is structured, you may have to adjust the height and width of the column where the image goes.

Sorry I can't be more precise, I've not got a copy of the file in front of me at the minute. But if you're still having trouble and no one better qualified has got back to you later on I'll have a look at the actual file and see if I can be more specific...

Apnomis

As suspected it looks like Boardindex.template.php is the cause of your problem, look for this line:


<img src="', $settings['images_url'], '/icons/calendar.gif" width="20" alt="', $txt['calendar24'], '" border="0" /></a>



And remove the bit that says width="20" as this is limiting your calendar icon to the no wider than 20 pixels regardless of the size of your uploaded image. As to how this will look/distort the table when you use a bigger image remains to be seen as I've not tried it myself...

Advertisement: