Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Disable sidebar only on certain pages?
Master99
New
I disabled the sidebar on my forum by adding this into the custom CSS: .page-sidebar { display:none; }
While this works, it also blocks the sidebar on profile pages, preventing users from changing their notification settings, signatures, etc.
How can I disable the sidebar everywhere except for profile pages?
0
Comments
http://vanillaforums.org/discussion/comment/227186/#Comment_227186
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I'm having this issue too, but how does background-attachment fix this?
The hint has been the first sentence of the linked post: the controller name appears at each page
So you can hide it
.page-sidebar {display:none;}
and afterwards show itbody.Profile .page-sidebar {display:block;}
But it seems like yu are writing a custom default.master.tpl and you know Smarty. It would be easy not to load the content at all. This discussion is surely of interest for you: https://vanillaforums.org/discussion/comment/173975/#Comment_173975