posters detals centred in forum

Go down

In progress posters detals centred in forum

Post by dft on May 28th 2011, 3:26 pm

Hi, i want to change the looks of my forum where someone makes a post, i want their details (nexto the message) to be centred, not to one side.

i.e.=>

from THIS



to THIS


dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Mike on May 28th 2011, 4:04 pm

It should be a type of link in your CSS. However if you change it in the CSS then it would make all the links centered in the forum. There might be a way with a code gangstar15 has provided before, but I'm unsure. What's your forum version?
avatar
Mike
Hyperactive

Male Posts : 4251
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

In progress Re: posters detals centred in forum

Post by dft on May 31st 2011, 11:23 am

phpbb2

dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Nera. on May 31st 2011, 11:35 am

Hi,
Go to your viewtopic_body template and find this code, add what I have underlined.
<center><span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
<span class="postdetails poster-profile" align>
{postrow.displayed.POSTER_RANK}<br />
{postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
<!-- 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><br /></center>

Save and PUBLISH template.
avatar
Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

In progress Re: posters detals centred in forum

Post by dft on June 1st 2011, 12:22 pm

done saved published but nothing...

dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Nera. on June 1st 2011, 12:35 pm

Try refreshing your forum page after publishing template. I've done it on phpBB2, works normally.
Woulnd't tell you to do it if it doesn't work http://i.imm.io/64Zb.png
If you want you can leave a link so we can see.
avatar
Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

In progress Re: posters detals centred in forum

Post by dft on June 13th 2011, 4:24 am

still nothing :/

dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Nera. on June 13th 2011, 8:36 am

Hi,

Can I have a link to your forum with published template so I can take a look?
avatar
Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Back to top


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