TinyPortal
Development => Support => Topic started by: ZI0N on July 21, 2007, 11:44:27 PM
Hi all.
I'm having a slight problem with tiny portal
A users avatar on the main page (in the welcome user box) is aligned left.
It looks silly like that in my opinion and would prefer it in the middle (centered)
anyone know how i can do this?
Thanks :)
Depends on if you're talking about the welcome user in the theme, or the welcome user in the tinyportal Block. Which is it?
Would also be nice to know which theme if its in the welcome user of the theme.
Quote from: IchBinâ„¢ on July 21, 2007, 11:45:40 PM
Depends on if you're talking about the welcome user in the theme, or the welcome user in the tinyportal Block. Which is it?
Sorry I should have been more specific.
Yes its the welcome user in the tinyportal block.
It happens in both the default theme and my current theme too.
Thanks for helping
Don't know if this will work.
Open TPortalBlocks.template.php and find:
echo $context['user']['avatar']['image'] . '<br />';
Change to:
echo '<div align="center">'.$context['user']['avatar']['image'] . '</div><br />';
didn't work :(
Its odd, before i posted this i was able to make everything else in that welcome block centered bar the avatar.
I just tried that on my site.. it seems to work fine. Did you hard refresh the page? CTRL + F5
Edit : sorry it works :P
Forgot to edit both my themes.
Cheers guys :)
:)