Page 1 of 1

Online image on top of avatar

Posted: Wed Jan 19, 2011 10:07 pm
by Jaymie1989
Hi,

Can I have my online image in prosilver to be on top of the avatar rather than under it?

Re: Online image on top of avatar

Posted: Wed Jan 26, 2011 5:14 am
by Jaymie1989
BUMP ;)

Re: Online image on top of avatar

Posted: Wed Jan 26, 2011 8:55 pm
by Sinom
Hello Jaymie!

This should work :roll:

Go to \styles\prosilver\template and open viewtopic_body.html

Find and remove:

Code: Select all

<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->
Find:

Code: Select all

<!-- IF not postrow.S_IGNORE_POST -->
         <dl class="postprofile" id="profile{postrow.POST_ID}">
Change into:

Code: Select all

<!-- IF not postrow.S_IGNORE_POST -->
         <dl class="postprofile" id="profile{postrow.POST_ID}">
         <div class="online-image"><!-- IF postrow.ONLINE_IMG --><dt style="position: absolute; margin: -10px 0 0 -50px;">{postrow.ONLINE_IMG}</dt><!-- ENDIF --></div>
Open common.css and add the following code at the bottom of the file:

Code: Select all

.online-image {
	float: right;
}
If I haven't missed anything, it should look like:
Image

Hope it works!

Hugs