TinyPortal
General => Chit chat => Topic started by: Porky on October 29, 2006, 09:50:25 PM
I have tried everything in the search and can't get the smflogo to center. Can someone take a look at my index.template for me and fix it.
thats cos ur looking in the wrong file - the logo will be found in index.template.php of your theme :buck2:
Thanks yeah thats the file I was looking through...reattached the right one
You should be able to use: align="middle" int the <image> tag. Hopefully that will work.
if (empty($settings['header_logo_url']))
echo '
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" align="middle" />';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';
did that didn't work
This is how I finally got it to work
echo '
<p align="center"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />';
else
echo '
<img align="center" src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';