XF 2.0 How can I remove the sidebar?

chrispy

Member
Hi,

On my website (https://forumm.org), how can I remove the sidebar?

I want it to be collapsed automatically and users have to expand it to see it, and if that's no possible, I want to remove it all together.

How can I do this?

P.S. I am running Xenforo 2

Thank You!
 
As a temporary fix to disable the sidebar you could add the following to your extra.less template:

Code:
.p-body-sidebar {
    display: none !important;
}
.p-body-content {
    max-width: 100% !important;
}
.button.uix_sidebarTrigger {
    display: none !important;
}

I would talk to Theme House about how to default the sidebar trigger to hidden to get the best solution.
 
As a temporary fix to disable the sidebar you could add the following to your extra.less template:

Code:
.p-body-sidebar {
    display: none !important;
}
.p-body-content {
    max-width: 100% !important;
}
.button.uix_sidebarTrigger {
    display: none !important;
}

I would talk to Theme House about how to default the sidebar trigger to hidden to get the best solution.
Awesome! Thank You.
 
Back
Top Bottom