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

XF 1.4 Hiding child nodes from forum home page

Discussion in 'Styling and Customization Questions' started by Aletta, Oct 13, 2014.

  1. Aletta

    Aletta Member

    Hi,

    is there a way of hiding child nodes from the forum home page? We want the child forums only to be visible inside the parent node for stylistic reasons.

    We┬┤ve tried a few suggestions we googled our way into, such as adding the following code:

    .nodeList .subForumsPopup
    {
    display: none;
    }


    Do anyone have any ideas or suggestions on how we can hide the child nodes from the forum home page, please?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try this.

    Code:
    .forum_list .subForumsPopup
    {
        display: none;
    }
    
     
  3. TJA

    TJA Well-Known Member

    @Aletta try

    Code:
    .subForumsPopup {display: none !important;}
     
  4. Aletta

    Aletta Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    The code I posted works in a default style.
     
  6. TJA

    TJA Well-Known Member

    Hmmm you have a link to your forum
     
  7. Aletta

    Aletta Member

  8. Brogan

    Brogan XenForo Moderator Staff Member

    I have checked the site registered in your account and you don't have any sub forums.

    Is this for a different site?
     
  9. Aletta

    Aletta Member

    They are not enabled, because it looks messy if enabled, so we want to figure this out before we enable them.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    As I said, the code I posted above works.

    If it doesn't work in your custom style then only by inspecting the code can I see what the issue is.

    Alternatively, contact the designer who you purchased the style from.
     

Share This Page