is it possible to increase the width of the post's body?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
ivelegacy
Registered User
Posts: 2
Joined: Sun Apr 14, 2019 1:42 pm

is it possible to increase the width of the post's body?

Post by ivelegacy » Sun Apr 14, 2019 2:23 pm

Image

hi,
I have recently opened a forum, based on phpBB, and I'd like to increase the width of postbody, since we are not using avatars, so the space on the right is not used.

it seems the width is managed by the class "postbody"

Code: Select all

styles/prosilver/template/viewtopic_body.html:          <div class="postbody">
but I cannot understand how it works, and what I have to change.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66241
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: is it possible to increase the width of the post's body?

Post by Lumpy Burgertushie » Sun Apr 14, 2019 2:46 pm

content.css around line 229

Code: Select all

/* Post body styles
----------------------------------------*/
.postbody {
	padding: 0;
	line-height: 1.48em;
	width: 76%;
	float: left;
	position: relative;
}
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

ivelegacy
Registered User
Posts: 2
Joined: Sun Apr 14, 2019 1:42 pm

Re: is it possible to increase the width of the post's body?

Post by ivelegacy » Sun Apr 14, 2019 4:16 pm

thanks!

I had to add this line

Code: Select all

<link href="{T_THEME_PATH}/content.css" rel="stylesheet" type="text/css"/>
in

Code: Select all

styles/prosilver/template/overall_header.html
and I also modified the "width" filed in this file

Code: Select all

styles/prosilver/theme/content.css

Code: Select all

.postbody
{
        padding:     0;
        line-height: 1.48em;
        color:       #333333;
        width:       99%;
        float:       left;
        clear:       both;
}
Not it works perfectly :D

User avatar
Lumpy Burgertushie
Registered User
Posts: 66241
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: is it possible to increase the width of the post's body?

Post by Lumpy Burgertushie » Sun Apr 14, 2019 4:29 pm

there was no need to add that line to the overallheader file.
'all you have to do is edit the content.css file and then purge the cache and or refresh your browser to see the changes.

the content.css file is already being used so that line is redundant and may even cause problems .


robvert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Post Reply

Return to “[3.2.x] Styles Support & Discussion”