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.

posters detals centred in forum

3 posters

Go down

In progress posters detals centred in forum

Post by dft 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

posters detals centred in forum Left_b10

to THIS

posters detals centred in forum Centre10
avatar
dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Mike 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?
Mike
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

In progress Re: posters detals centred in forum

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

phpbb2
avatar
dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Nera. 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.
Nera.
Nera.
Energetic

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

Back to top Go down

In progress Re: posters detals centred in forum

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

done saved published but nothing...
avatar
dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

Post by Nera. 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.
Nera.
Nera.
Energetic

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

Back to top Go down

In progress Re: posters detals centred in forum

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

still nothing :/
avatar
dft
Forumember

Posts : 49
Reputation : 0
Language : English

Back to top Go down

In progress Re: posters detals centred in forum

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

Hi,

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

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

Back to top Go down

Back to top

- Similar topics

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