Notifications
Clear all

Limited Support

Dear Clients and Partners, we wish you a Merry Christmas and a Happy New Year! May this season bring you joy, peace, and good times with your loved ones.
Our support will be limited during the holidays, and we will return to full service on January 7.
Thank you for your understanding.
We appreciate your support this year and look forward to working with you in the new year.
Happy Holidays!

 

[Solved] Remove Sidebar Only On Certain Pages

5 Posts
3 Users
2 Reactions
390 Views
Posts: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 10 months ago

I am trying to make a distraction free (as much as possible) page where users can post questions. It is possible to remove the sidebar perhaps by using a shortcode or other setting for a specific page where a user can ask a question?

I am currently using this shortcode on a blank page.

[wpforo boardid="0" item="add-topic" id="2"]

 

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

In order to do that, you need NOT to use wpForo sidebar but of your THEME's.

Then with some widget options plugin, you will be able to tune what to show & where.

Reply
Tutrix
Posts: 1523
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @sison2466 

try this code

#wpforo #wpforo-wrap.wpft-forum .wpforo-content {
 width:100%
}
#wpforo #wpforo-wrap.wpft-forum .wpforo-right-sidebar {
 width:0%;
 display:none;
}

add it to custom css

Dashboard > wpForo > Settings > Colors & Styles > Custom CSS

 

Reply
1 Reply
(@sison2466)
Joined: 10 months ago

Estimable Member
Posts: 60

@tutrix This would remove the sidebar on all the forum pages, correct? Is there a way to affect the CSS of just one page?

Reply
Tutrix
Posts: 1523
(@tutrix)
Noble Member
Joined: 5 years ago

Posted by: @sison2466

Is there a way to affect the CSS of just one page?

yes, if you use the correct css class instead of

.wpft-forum
Reply