XF 1.2 Remove Sidebar on the homepage

Enguerran A

Well-known member
Hello guys, I want to know how can I do to remove the sidebar from mainpage only. My main page is for displaying news only so I really need to remove it. I'm 2 step just before finishing my site but I'm stuck on that sidebar ^^'

If you have any idea for me, go ahead :)


XenForo moderator
Staff member
It depends what you mean by "mainpage".
The forum index? A portal page? Another page you have set as the index page?

The FAQ in my signature explains how to identify the template name of the page.
Then you can edit the template and comment it out or use CSS to hide it.


Well-known member
As Paul stated, it depends on what you are using. You said for display news, which implies it isn't the default forum index page. Which means it literally can be a myriad of possibilities that I/we can't possibly determine based on the information you have provided. Without more information, my answer is perfectly valid and applies to how to remove the side bar.