QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

2.1 forum display width

Started by LandyVlad, Jul 22, 2021, 09:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

I seems no matter what size PC screen is used, the forum only takes up the middle of the screen with HUGE margins on both sides. (using the background colour, or image if there is one)

example - this very smfhelper forum.

This contrasts with the 2.0 forums where the forum width adjust so it fits most of the screen,
example - https://gsx1400owners.org/forum/index.php?action=forum

Is this a feature / problem with 2.1 generally?
If so has it been noted on github?
Is there some other way to fix it?
 
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

The setting for forum width was taken out a while back in 2.1 if I remember right. THere should be a mod lyin around to put it back in though if it has been updated. I here what you are saying though. It would be nice to have it auto-resize.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

You need to adjust the code style in index.css, line: 1081.

#top_section .inner_wrap, #wrapper, #header, #footer .inner_wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;

Adjust this part to your liking:
max-width: 1200px;

Bigguy

"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Hatshepsut

The mod is called "Forum width setting":

https://custom.simplemachines.org/mods/index.php?mod=4223

It works fine with default theme, but not sure to work with custom themes.

Bigguy

I installed it today. Might play around a bit later with it. :rgton
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Bigguy

Changed the width on this site to 75% Looks good on my monitor.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

lurkalot

Quote from: Bigguy on Jul 23, 2021, 11:34 AMChanged the width on this site to 75% Looks good on my monitor.

Seems pretty narrow on my laptop screen if I'm being honest. Maybe 90% would work better.

Bigguy

"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Bigguy

Hmmm...No, I don't think 90% will work. To much space to the right of everything really. 80% maybe...
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

lurkalot

Look better now on my laptop screen, sorta back to how it used to look.  Think it need some sort of max width setting so it doesn't go silly wide on big screens but also doesn't go too narrow on smaller device screens like tablets or notebooks / laptops etc.

Bigguy

I wonder if this effects mobile at all. Probably not.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

lurkalot

Quote from: Bigguy on Jul 24, 2021, 05:20 AMI wonder if this effects mobile at all. Probably not.

Don't think it does, if I zoom in on my laptop browser (EDGE) everything switches to full width.  ;) 

LandyVlad

It's the look of the old forum width I'm after - less úser shock' on transition to 2.1
I think that 2300px?

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

I used % so not sure what that would be really.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin