Phpbb 3.1.10 site width issues

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Anti-Spam Guide
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Phpbb 3.1.10 site width issues

Post by brassuk »

Hi again all,

I have just made a fresh install of 3.1.10 on my new site and the forum is very narrow in the middle of the screen with large gaps left and right and on my previous older version on another site it took up all of the screen even on a 27 inch imac, could somebody help me please to get the forum wider?

Thanks in advance.
Last edited by JimA on Thu Jan 05, 2017 8:51 pm, edited 2 times in total.
Reason: Marked as solved
User avatar
JimA
Former Team Member
Posts: 7833
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn

Re: Phpbb 3.1.10 site width issues

Post by JimA »

That's because phpBB currently has a fixed-width on prosilver by default.
If you want to change that max-width to something larger, it's this code in your style's common.css file. :)

Code: Select all

.wrap {
	border: 1px solid transparent;
	border-radius: 8px;
	margin: 0 auto;
	max-width: 1152px;
	min-width: 625px;
	padding: 15px;
}
Jim Mossing Holsteyn - Former Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
User avatar
Scanialady
Registered User
Posts: 423
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette

Re: Phpbb 3.1.10 site width issues

Post by Scanialady »

My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

Thanks very much both of you. Just a quick question with regards to refreshing the theme as detailed below:-

Then refresh your theme - ACP => Styles => Style Components => Themes.

Styles tab does not exist and I don't see anywhere to refresh?

Thanks.
User avatar
JimA
Former Team Member
Posts: 7833
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn

Re: Phpbb 3.1.10 site width issues

Post by JimA »

That's not necessary anymore. Those instructions were for 3.0.x. :)
Jim Mossing Holsteyn - Former Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

Aaaaaa ok that's great! Thanks again very very much for all your help :-)

Thanks.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

Well I edited the common.css file in cpanel and changed first to 3000px and refreshed my site and no change? Am I doing something wrong?

Thanks
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: Phpbb 3.1.10 site width issues

Post by mrgtb »

brassuk wrote: Thu Jan 05, 2017 7:22 pm Well I edited the common.css file in cpanel and changed first to 3000px and refreshed my site and no change? Am I doing something wrong?

Thanks
Did you clear all cache files
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

I had not purged the cache so thanks but I just did it now and no change.

The text I changed in the css is as follows:-

#wrap {
border: 1px solid transparent;
border-radius: 8px;
margin: 0 auto;
max-width: 5000px;
min-width: 625px;
padding: 15px;
User avatar
JimA
Former Team Member
Posts: 7833
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn

Re: Phpbb 3.1.10 site width issues

Post by JimA »

Could we have a link to your board?
Jim Mossing Holsteyn - Former Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

User avatar
JimA
Former Team Member
Posts: 7833
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn

Re: Phpbb 3.1.10 site width issues

Post by JimA »

For me the forum is at the max width. Maybe you need to do a hard refresh (Ctrl+F5) to see the changes?
Jim Mossing Holsteyn - Former Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Phpbb 3.1.10 site width issues

Post by Lumpy Burgertushie »

I see your board as full width on a 32 inch monitor. and I see the correct css that you changed.
you need to refresh your browser a couple of times to see it.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

Jim thanks so very much that worked a treat and everything fine now.
brassuk
Registered User
Posts: 16
Joined: Thu Jan 05, 2017 6:09 pm

Re: Phpbb 3.1.10 site width issues

Post by brassuk »

Lumpy Burgertushie wrote: Thu Jan 05, 2017 8:44 pm I see your board as full width on a 32 inch monitor. and I see the correct css that you changed.
you need to refresh your browser a couple of times to see it.

robert

Thanks Lumpy it worked.

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