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.

Text body more slimmer

View previous topic View next topic Go down

Solved Text body more slimmer

Post by Faze on January 3rd 2015, 3:58 am

How do you get the text body of threads and posts to be more slimmer?
Here is an example :


Faze
Forumember

Female Posts : 29
Reputation : 2
Language : English

http://universalfm.7forum.net/

Back to top Go down

Solved Re: Text body more slimmer

Post by Ange Tuteur on January 3rd 2015, 4:08 am

Hello @Faze,

You're wanting to decrease the width of the postbody, correct ? Also, could you provide the version or a link to your forum ?

Thanks

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Text body more slimmer

Post by Faze on January 3rd 2015, 4:11 am

@Ange Tuteur
I am using phpBB3,
Also, I would like to reduce the size of the profile slimmer on the post thread as well, like the one in the photo

Faze
Forumember

Female Posts : 29
Reputation : 2
Language : English

http://universalfm.7forum.net/

Back to top Go down

Solved Re: Text body more slimmer

Post by Ange Tuteur on January 3rd 2015, 4:15 am

You can adjust the width of those by adding the following rules to your stylesheet.
Display > Colors > CSS stylesheet
Code:
.postprofile { width:20% } /* profile width */
.postbody { width:75% } /* postbody width */

I added comments to mark what they change. Adjust the percent to what you like.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Text body more slimmer

Post by Faze on January 3rd 2015, 4:26 am

@Ange Tuteur
The postbody did work, but it only pushed the text to the right,
I wanna get it in the center


Faze
Forumember

Female Posts : 29
Reputation : 2
Language : English

http://universalfm.7forum.net/

Back to top Go down

Solved Re: Text body more slimmer

Post by Ange Tuteur on January 3rd 2015, 4:32 am

Change the postbody rule to this :
Code:
.post .postbody {
  width:70%;
  margin-right:3%;
}

When you change the width, adjust the right margin to bring the post to the center. Since it's floated, normal centering methods don't apply.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Text body more slimmer

Post by Faze on January 3rd 2015, 4:43 am

It worked! Thanks!

Faze
Forumember

Female Posts : 29
Reputation : 2
Language : English

http://universalfm.7forum.net/

Back to top Go down

Solved Re: Text body more slimmer

Post by Ange Tuteur on January 3rd 2015, 5:08 am

You're welcome ^^

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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