Jump to content

Don't show subforum on index

Featured Replies

Posted

I am not sure if this is possible but if you don't ask you don't get! 

I basically have a forum which has subforums under it. On the main forum index i only want to show the parent forum then when a user clicks the parent they see the subforums. This functionality is already there but is there a way to not show the subforums on the forum index if that makes sense?

Try

body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsDataItem_subList {
    display: none;
}

in your custom.css. Any joy?

The above will hide subforums for all parent forums. If the requirement is to hide the subforums of just one parent forum then replace 2 with the ID of the parent forum:

li[data-forumID="2"] .ipsDataItem_subList {
    display: none;
}

 

Edited by Nathan Explosion

This application hides all subforums on the index page

 

  • Author

Thanks will try those suggestions. ?

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.