XF 1.5 How can i remove the sidebar on index?

gavpeds

Active member
I would like to remove the sidebar on main forum index including visitor panel. How can i achieve this?
 
Add this bit of code to the EXTRA.css template of the style that you are using as default.

HTML:
.sidebar {
display: none;
}

.mainContent {
margin-right: 0;
}
 
If you don't plan on using any of it I would simple comment out where it is first called which would be in the PAGE_CONTAINER template.

CSS will just hide but the data still loads.
 
Back
Top Bottom