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

XF 1.2 Remove Subforums from inside forum view?

Discussion in 'Styling and Customization Questions' started by haincha, Dec 3, 2013.

  1. haincha

    haincha Member

    Not sure if I properly worded that, however, I am trying to get rid of it showing subforums in a forum that has threads.


    So, when you click on a forum to see threads inside, I don't want to see subforums up above threads, yet don't want to remove them as subforums on the main page.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add to EXTRA.css:
    Code:
    .forum_view .nodeList
    {
        display:none;
    }
     
    Bram likes this.
  3. haincha

    haincha Member

    Wow, that was easy. I had .nodeList and display: none. It didn't show anything... :p

    Thanks for the quick reply.
     
  4. kingston

    kingston Well-Known Member

    I think the answer I am looking for is close to this but I cannot seem to word it right. How do you hide the subforums from the main forum view?
     
  5. kingston

    kingston Well-Known Member

    Maybe it is called the forum home?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Assuming you are using the default pop up setting.

    Code:
    .forum_list .nodeStats dl, .subForumsPopup {
    display: none !important;
    }
    Otherwise if inline.
    Code:
    .forum_list .node .subForumList {
    display: none !important;
    }
     
    kingston likes this.
  7. kingston

    kingston Well-Known Member

    I seemed to have someone done something weird. Now if I have a category as the first level nothing will display second level. I removed the code you posted to no change. Any idea where to look what is happening?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    If you removed that code and the problem remains then it must be something else you have added or changed.
     
    kingston likes this.
  9. kingston

    kingston Well-Known Member

    Yep. it was me. I was an idiot. Thanks for your help.
     
  10. Jericho M

    Jericho M Member

    Hi Brogan,

    How about showing subforum just below the main forum and remove the dropdown menu?

    Like what you did in your forum http://cliptheapex.com/

    Thanks!
     
  11. Amaury

    Amaury Well-Known Member

    Style Properties > Forum / Node List > Settings
     
  12. Valter

    Valter Active Member

    To remove subforum list from forum view it may be better to add the following to the top of forum_view template:
    Code:
    <xen:set var="$renderedNodes">0</xen:set>
     

Share This Page