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 widget on user profile pages?

3 Posts
2 Users
2 Reactions
1,012 Views
Posts: 13
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
(@johnnyfive)
Eminent Member
Joined: 1 year ago
[#61811]

Hi guys, 

 

I'm building my new forum using WpForo using the Solace theme inside Wordpress. 

 

I'm using the 'WpForo Sidebar - (Forums)' widget to add sidebars to my forums.

 

I like the sidebar on all of the forum pages and I want to keep those where they are, but I'd like the user profile pages not to have the sidebar, if possible. 

 

When the user clicks on 'My Profile' the profile page, or any other users profile page, I'd like the profile page to fill the whole container without the sidebar. 

 

Is there a way to do this please? 

 

Many thanks in advance


2 Replies
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 @johnnyfive 

Add this CSS code to custom CSS

#wpforo #wpforo-wrap.wpft-profile .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-account .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-followers .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-following .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-favored .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-activity .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-subscriptions .wpforo-right-sidebar,
#wpforo #wpforo-wrap.wpft-messages .wpforo-right-sidebar {
  display:none
}
#wpforo #wpforo-wrap.wpft-profile .wpforo-content,
#wpforo #wpforo-wrap.wpft-account .wpforo-content,
#wpforo #wpforo-wrap.wpft-followers .wpforo-content,
#wpforo #wpforo-wrap.wpft-following .wpforo-content,
#wpforo #wpforo-wrap.wpft-favored .wpforo-content,
#wpforo #wpforo-wrap.wpft-activity .wpforo-content,
#wpforo #wpforo-wrap.wpft-subscriptions .wpforo-content,
#wpforo #wpforo-wrap.wpft-messages .wpforo-content {
  width:100%
}

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

and clear browser cache


Posts: 13
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
(@johnnyfive)
Eminent Member
Joined: 1 year ago

@tutrix Thanks so much! That worked straight away. I've been trying to figure that out for days. 

Very much appreciated 😎 


Share: