1. 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?

Discussion in 'Styling and Customization Questions' started by trigatch4, Dec 12, 2013.

  1. trigatch4

    trigatch4 Member

    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?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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;
    }
     
    trigatch4 likes this.

Share This Page