• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How can i remove the sidebar on index?


Well-known member
Add this bit of code to the EXTRA.css template of the style that you are using as default.

.sidebar {
display: none;

.mainContent {
margin-right: 0;

Steve F

Well-known member
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.


Active member
Out of curiosity is there any css trickery like this that could make the sidebar show under the forum? You know like members online, stats etc