Notifications
Clear all

Style [Solved] How to make forum width 100% ?

10 Posts
3 Users
2 Reactions
1,176 Views
Posts: 9
Topic starter
(@andriusa)
Active Member
Joined: 4 years ago

Hello,

I have main site reidasofficial(dot)lt and forum site reidasofficial(dot)lt/formas/

My main site width is 1200px and forum site width also 1200px. How can I make forum site width 100% (not 1200px but fully stretched). Should I use some css code?

9 Replies
dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

Select full width page in your theme's page properties for the wpForo shortcode page. If there is not such a thing, ask the theme developer.

4 Replies
(@andriusa)
Joined: 4 years ago

Active Member
Posts: 9

@dimalifragis I already done this but in my theme settings there is option that my website is 1200px width and I want to keep my main site with 1200px width but I want my forum site to be full width.

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611

@andriusa You can't do that if your theme doesn't support it.

(@andriusa)
Joined: 4 years ago

Active Member
Posts: 9

@dimalifragis My theme support full width but I want my main site to keep 1200px and forum full width. I think I need to use some CSS code but I am not good in CSS coding.

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611

@andriusa I don't think you can do that.

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

Please leave a direct link to your forum. The URLs above doesn't work.

3 Replies
(@andriusa)
Joined: 4 years ago

Active Member
Posts: 9

@robert reidasofficial.lt/forumas/

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@andriusa,

Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, purge CSS/JS optimization cache, go to forum front-end and press Ctrl+F5:

.wpforo #content {
    max-width: 99%;
}
(@andriusa)
Joined: 4 years ago

Active Member
Posts: 9

@robert Thank you. This code is working.