The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

ASK-How to put username and avatar in middle?

View previous topic View next topic Go down

Solved ASK-How to put username and avatar in middle?

Post by DeLOeM on January 22nd 2012, 7:19 am

I think i cannot find this,can you help me?
I want in message body,the avatar and username is put in middle
can you solved this? please,help me beu


Last edited by DeLOeM on January 23rd 2012, 12:32 pm; edited 1 time in total
avatar
DeLOeM
New Member

Male Posts : 11
Reputation : 1
Language : English
Location : Indonesia

http://deloem.forumotion.com

Back to top Go down

Solved Re: ASK-How to put username and avatar in middle?

Post by Guest on January 22nd 2012, 10:07 am

Add to CSS Stylesheet:
Code:
span.name strong a span strong{
margin-left: 75px;
margin-right: 75px;
}

span.postdetails.poster-profile img{
margin-left: 75px;
margin-right: 75px;
}

Guest
Guest


Back to top Go down

Solved Re: ASK-How to put username and avatar in middle?

Post by Dr. Karlos on January 23rd 2012, 4:21 am

Hi,

Find this part in your template viewtopic_body:
Code:
<!-- BEGIN postrow -->
  <!-- BEGIN displayed -->
  <tr class="post">
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
        <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span>
 
            <span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}
 
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}
 
 
            <!-- BEGIN profile_field -->
            {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
            {postrow.displayed.POSTER_RPG}
        </span>
 
        <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

And replace it by this:
Code:
<!-- BEGIN postrow -->
  <!-- BEGIN displayed -->
  <tr class="post">
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
        <center><span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></center>
 
            <span class="postdetails poster-profile"><center>
            {postrow.displayed.POSTER_RANK}
 
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}</center>
 
 
            <!-- BEGIN profile_field -->
            <center>{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</center>
            <!-- END profile_field -->
            <center>{postrow.displayed.POSTER_RPG}</center>
        </span>
 
        <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>


Cordially,
Dr. Karlos
avatar
Dr. Karlos
New Member

Posts : 20
Reputation : 3
Language : French and English
Location : On Forumactif ;)

Back to top Go down

Solved Re: ASK-How to put username and avatar in middle?

Post by DeLOeM on January 23rd 2012, 12:33 pm

@all thank you so much

Solved now
avatar
DeLOeM
New Member

Male Posts : 11
Reputation : 1
Language : English
Location : Indonesia

http://deloem.forumotion.com

Back to top Go down

Solved Re: ASK-How to put username and avatar in middle?

Post by Guest on January 23rd 2012, 12:35 pm

Glad we could help. Very Happy

Guest
Guest


Back to top Go down

Solved Re: ASK-How to put username and avatar in middle?

Post by Nera. on January 23rd 2012, 12:36 pm

Topic Solved & Locked
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum