The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ASK-How to put username and avatar in middle?

3 posters

Go down

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

Post by DeLOeM 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
DeLOeM
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 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;
}
avatar
Guest
Guest


Back to top Go down

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

Post by Dr. Karlos 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://2img.net/i/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://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>


Cordially,
Dr. Karlos
Dr. Karlos
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 January 23rd 2012, 12:33 pm

@all thank you so much

Solved now
DeLOeM
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 January 23rd 2012, 12:35 pm

Glad we could help. Very Happy
avatar
Guest
Guest


Back to top Go down

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

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

Topic Solved & Locked
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top


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