How to make my forum view wider?

Excuse me if this has been discussed before.I haven’t been able to find any similar topic.

The present view of my forum is

I want the view to be browser full view no extra spaces on the left and right.Is it possible to have this view?

Kindly solve this issue.

1 Like

Add this to a CSS customization:

@media screen and (min-width: 1400px) {
  .wrap { max-width: 1200px; }
}


@media screen and (min-width: 1600px) {
  .wrap { max-width: 1400px; }
}

etc etc

9 Likes

thanks for the code.
Should I need to rebuild discourse docker after making a change to the CSS?
If so, what is the command that i should run?

No, enter it in Admin -> Customize -> CSS/HTML. There’ll be a preview button, and when you check Enabled and then Save, a refresh will show it.

3 Likes