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

XF 1.2 Remove Sidebar on the homepage

Enguerran A

Well-known member
#1
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 :)
 

Brogan

XenForo moderator
Staff member
#4
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.
 

Jeremy

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