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.

How to resize the profile column in the viewtopic_body

View previous topic View next topic Go down

Solved How to resize the profile column in the viewtopic_body

Post by tonetone on November 27th 2014, 4:50 am

Please help me resize the profile column  in the viewtopic_body


tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to resize the profile column in the viewtopic_body

Post by Ange Tuteur on November 27th 2014, 4:55 am

Hello tonetone,

Add this rule to your stylesheet :
Adimistration panel > display > colors > css stylesheet

Code:
.postprofile { width:25% }
Modify the 25% to adjust the width of the profile.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to resize the profile column in the viewtopic_body

Post by tonetone on November 27th 2014, 5:02 am

@Ange Tuteur wrote:Hello tonetone,

Add this rule to your stylesheet :
Adimistration panel > display > colors > css stylesheet

Code:
.postprofile { width:25% }
Modify the 25% to adjust the width of the profile.

One more question: how to change vertical profile to horizontal
 
Thank you,

tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to resize the profile column in the viewtopic_body

Post by Ange Tuteur on November 27th 2014, 5:12 am

Add this to your CSS :
Code:
.post .postprofile, .post .postbody {
  float:none;
  width:100%;
}

Then go to Display > Templates > General > viewtopic_body Edit

Find and remove :
Code:
<div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
 <!-- div class="online2"></div-->
 <dl>
 <dt>
 {postrow.displayed.POSTER_AVATAR}
 <br /><strong style="font-size:1.2em">{postrow.displayed.POSTER_NAME}</strong>
 </dt>
 <dd>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</dd>
 <dd><br /></dd>
 <dd>
 <!-- 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}
 </dd>
 <dd><br /></dd>
 <dd>
 {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
 </dd>
 </dl>
 </div>

Find :
Code:
<div class="postbody">

Replace by :
Code:
<div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
 <!-- div class="online2"></div-->
 <dl>
 <dt>
 {postrow.displayed.POSTER_AVATAR}
 <br /><strong style="font-size:1.2em">{postrow.displayed.POSTER_NAME}</strong>
 </dt>
 <dd>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</dd>
 <dd><br /></dd>
 <dd>
 <!-- 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}
 </dd>
 <dd><br /></dd>
 <dd>
 {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
 </dd>
 </dl>
 </div>
 <div class="postbody">

Save and publish. Add

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to resize the profile column in the viewtopic_body

Post by tonetone on November 27th 2014, 5:24 am

Thank Ange Tuteur alot!

Already done!

Sincerely,
tonetone

tonetone
Forumember

Male Posts : 31
Reputation : 2
Language : English
Location : Japan

http://yeucotuong.123.st

Back to top Go down

Solved Re: How to resize the profile column in the viewtopic_body

Post by Ramdaman on November 27th 2014, 5:49 am

Topic solved and archived.

Ramdaman
Active Poster

Male Posts : 1614
Reputation : 96
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

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