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.

Add a box arround profile details and center profile details (phpBB2)

View previous topic View next topic Go down

Solved Add a box arround profile details and center profile details (phpBB2)

Post by Tonight on June 8th 2012, 12:44 pm

Am I able to do my poster (user who posted) information like this?



Last edited by Tonight on June 8th 2012, 4:13 pm; edited 1 time in total

Tonight
Forumember

Male Posts : 240
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Add a box arround profile details and center profile details (phpBB2)

Post by Nera. on June 8th 2012, 2:31 pm

Go to:

AP Display Templates Viewtopic_body template and find this part


Code:
{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}

Replce it with this:

Code:
<div class=novo>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}</div>

Save and publish template on the green cross.


AP Display Colors CSS and add this

Code:

.novo {
background-color: #ffffff;
border: 1px solid #dfdfdf;
color: #3a3a3a;
margin-top: 2px;
padding-bottom: 3px;
padding-left: 10px;
padding-right: 3px;
padding-top: 3px;
text-align: left;
width: 154px;
 }

AP Modules JS managment add this and mark in topics.

Code:
$(function(){
$('.novo').next('br').hide();
});

Resault:



And to make it in center read this http://help.forumotion.com/t82449-how-can-i-center-the-mini-profile?highlight=Author+algin+to+center

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Add a box arround profile details and center profile details (phpBB2)

Post by Tonight on June 8th 2012, 3:57 pm

Thank you very much!
Good luck to Croatia for Euro 2012 Smile!

Tonight
Forumember

Male Posts : 240
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Add a box arround profile details and center profile details (phpBB2)

Post by Nera. on June 8th 2012, 4:25 pm

Hahaha, we'll need it.

Topic Solved & Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
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