AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Remove Sidebar Only On Certain Pages

5 Posts
3 Users
2 Reactions
1,011 Views
Posts: 60
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sison2466)
Estimable Member
Joined: 2 years ago
[#56242]

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"]

 

 ZgQeBaR8tl

4 Replies
dimalifragis
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 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: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 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: 2 years ago

Estimable Member
Posts: 60
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 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
Share: