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

XF 1.2 Homepage Sidebar different size than other pages?

#1
I want a 300px right sidebar on pretty much all my pages. I was able to adjust that fine - although still need to get it into the thread listing - but my question is about customizing the width and content on different pages.

I want to make my sidebar 400px or 450px on the homepage to show more feature rich information (in lieu of a portal) and keep it 300px on all other pages. Any easy way to do this?
 

Brogan

XenForo moderator
Staff member
#2
Use specificity in EXTRA.css for each page.
For example, this will just affect the sidebar on the main forum list page.
Code:
.forum_list .sidebar {
width: 400px;
}