Page 1 of 1

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

Posted: Sun Apr 14, 2019 2:23 pm
by ivelegacy
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.

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

Posted: Sun Apr 14, 2019 2:46 pm
by Lumpy Burgertushie
content.css around line 229

Code: Select all

/* Post body styles
----------------------------------------*/
.postbody {
	padding: 0;
	line-height: 1.48em;
	width: 76%;
	float: left;
	position: relative;
}

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

Posted: Sun Apr 14, 2019 4:16 pm
by ivelegacy
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

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

Posted: Sun Apr 14, 2019 4:29 pm
by Lumpy Burgertushie
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

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

Posted: Tue Mar 31, 2020 7:45 am
by erelash_mf
Hi guys
How to change text location change to bottom on post body?

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

Posted: Tue Mar 31, 2020 6:24 pm
by ac_roma
erelash_mf wrote:
Tue Mar 31, 2020 7:45 am
Hi guys
How to change text location change to bottom on post body?
this will not to be ok with the preview

you can try edit the post calss in the css

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

Posted: Wed Apr 01, 2020 3:34 am
by erelash_mf
ac_roma wrote:
Tue Mar 31, 2020 6:24 pm
erelash_mf wrote:
Tue Mar 31, 2020 7:45 am
Hi guys
How to change text location change to bottom on post body?
this will not to be ok with the preview

you can try edit the post calss in the css
OKEY :)