Logo instead text? (Features)

by Auge, Sunday, March 08, 2009, 21:13 (5499 days ago) @ Georgio

Hello cowboy,

How can i change my forum title to a nice logo? :-D If it's possible, does matter the size or i have to upload a logo with specific size?

You have to alter the template in folder templates/default/main.tpl. There you'll find (version 2.0.2) in line 28 the following code:

<h1><a href="./" title="{#forum_index_link_title#}">{$settings.forum_name|escape:"html"}</a></h1>

This is the title inclusive the link to the main page of the forum. Put the HTML-sourcecode for your image into the link (between <a> and </a>) and put the smarty code ({$settings.forum_name|escape:"html"}) into the alt attribute of the image tag.

Should looks something like this:

<h1><a href="./" title="{#forum_index_link_title#}"><img src="path/to/image" alt="{$settings.forum_name|escape:"html"}"></a></h1>

With this CSS code ...

h1 img { width:...px; height:...px; border:none; }


... you can handle the properties for this image (an image inside the first class header).

PLz heLp mE !

Your shift key jams!

Tschö, Auge


Complete thread:

 RSS Feed of thread