[SOLVED] Forum narrowed to leftmost 60% of my monitor screen

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
slipstick
Level 6
Level 6
Posts: 1071
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

[SOLVED] Forum narrowed to leftmost 60% of my monitor screen

Post by slipstick »

Something happened last night to the way the forum is presented on my wide-screen display. Previously it had been spread across the entire width of my 24", 1920x1200 pixel screen. Now, suddenly it is squeezed into the left-most 60-65 % of the screen, with the remainder just a blank mint (light green) background. I am using FireFox version 60.0.2 and this is the only site that is doing this (display is also narrowed using Chromium browser). It doesn't matter whether I am logged in or not - same display. Of course, the forum is still usable this way - I'm just wondering what happened?

Code: Select all

steve@steve-Z97X ~ $ inxi -SG
System:    Host: steve-Z97X Kernel: 4.4.0-128-generic x86_64 (64 bit) Desktop: Cinnamon 3.6.7
           Distro: Linux Mint 18.3 Sylvia
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GM107 [GeForce GTX 750 Ti]
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.130
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
In theory, theory and practice are the same. In practice, they ain't.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by thx-1138 »

...i've been struggling with such throughout the whole day as well, using the pro-silver theme here... :-/

Ok, at least it's not just me... :)
FF 60.0.2, the green theme works (scales) fine though.
Only NoScript & uBlock here (but the re-scaling happens with those two disabled as well).
Screen resolution 1600x900 if that is of any help...

Hopefully a step closer to resolution, maybe some recent update to phpbb broke something?
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by xenopeek »

An earlier theme change was rolled back yesterday after feedback from widescreen users. The earlier theme change was to set the width of the page to unlimited width, as you had become accustomed to. Following how other websites handle text oriented pages, and how the default was on the theme our theme is based on, the page width now has the original maximum.

I haven't done any notice or announcement yet as I was waiting for the CDN cache to update and start serving the new theme files. Apparently it's doing that in your region already but not in mine yet :? The page content is supposed to display in the middle of the browser window.

Both prosilver and minty themes were changed.
Image
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by xenopeek »

Anybody familiar with setting user styles in their browser can override it with this CSS code (this removes the page width maximum):

Code: Select all

@-moz-document domain(forums.linuxmint.com) {
	.wrap { max-width: none !important; }
}
I think this is the info for Firefox on setting user styles for websites http://kb.mozillazine.org/index.php?tit ... ontent.css
Image
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by thx-1138 »

Thank you xenopeek - that appears to have done the trick :)
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by thx-1138 »

...spoke too soon, even with the css trick, it still reverts / auto-resizes back (regardless of clearing cache / cookies etc...) :|

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain(forums.linuxmint.com) {
	.wrap { max-width: none; }
}
Anyway, tomorrow is another day...
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by xenopeek »

You could try 100% instead of none as value.
Image
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by xenopeek »

The page not aligning in the center has been fixed. Will take a day or perhaps two before you'll see those changes.
Image
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by thx-1138 »

Great - thanks.
I tried earlier today also further toying around with min-width as well, but had no luck whatsoever (the green theme started misbehaving as well, so i thought i'd just go with whatever it is until others do further reporting)...
mwbworld

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by mwbworld »

xenopeek wrote: Fri Jun 22, 2018 6:23 am The page not aligning in the center has been fixed. Will take a day or perhaps two before you'll see those changes.
Excellent. It's so bizarre seeing the full left justification version!
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by xenopeek »

thx-1138 wrote: Thu Jun 21, 2018 4:12 pm ...spoke too soon, even with the css trick, it still reverts / auto-resizes back (regardless of clearing cache / cookies etc...) :|

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain(forums.linuxmint.com) {
	.wrap { max-width: none; }
}
Anyway, tomorrow is another day...
I tinkered around with it and you need to add !important to the rule, as below. After editing userContent.css file you also need to restart Firefox; it doesn't otherwise load changed configuration files. I didn't need a namespace line in the file to make it work, just literally the below 3 lines.

Code: Select all

@-moz-document domain(forums.linuxmint.com) {
	.wrap { max-width: none !important; }
}
Image
srq2625

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by srq2625 »

FWIW - the forum is displaying correctly in my area (Virginia, USA).
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by thx-1138 »

xenopeek wrote: Fri Jun 22, 2018 10:17 am....and you need to add !important to the rule, as below.
...........
...pure magic - thanks again :D
User avatar
slipstick
Level 6
Level 6
Posts: 1071
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by slipstick »

xenopeek wrote: Fri Jun 22, 2018 10:17 am I tinkered around with it and you need to add !important to the rule, as below. After editing userContent.css file you also need to restart Firefox; it doesn't otherwise load changed configuration files. I didn't need a namespace line in the file to make it work, just literally the below 3 lines.

Code: Select all

@-moz-document domain(forums.linuxmint.com) {
	.wrap { max-width: none !important; }
}
That works for me. Thanks, xenopeek.
In theory, theory and practice are the same. In practice, they ain't.
Mattyboy

Re: Forum narrowed to leftmost 60% of my monitor screen

Post by Mattyboy »

thx-1138 wrote: Fri Jun 22, 2018 10:24 am
Yup same here thanks. Fixed.

( cheers for the head ups thx-1138 )
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: [SOLVED] Forum narrowed to leftmost 60% of my monitor screen

Post by Schultz »

This fix also works in Pale Moon and Basilisk.
xenopeek wrote:
An earlier theme change was rolled back yesterday after feedback from widescreen users. The earlier theme change was to set the width of the page to unlimited width, as you had become accustomed to. Following how other websites handle text oriented pages, and how the default was on the theme our theme is based on, the page width now has the original maximum.
Why do the powers that be of this forum feel the need to follow what other websites do? I think this change was for the worse. BTW, I use a widescreen. What is the purpose of someone having a widescreen if they want a web page to be narrow on it?
Mattyboy

Re: [SOLVED] Forum narrowed to leftmost 60% of my monitor screen

Post by Mattyboy »

Schultz wrote: Wed Jun 27, 2018 10:40 pm
I actually quite like it when using tile stacking in Vivaldi
Screenshot from 2018-06-28 15-45-47.jpg
Locked

Return to “Other topics”