gavpedz Posted February 20, 2018 Share Posted February 20, 2018 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? Link to comment Share on other sites More sharing options...
Meddysong Posted February 20, 2018 Share Posted February 20, 2018 Try body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsDataItem_subList { display: none; } in your custom.css. Any joy? Link to comment Share on other sites More sharing options...
Nathan Explosion Posted February 20, 2018 Share Posted February 20, 2018 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; } Link to comment Share on other sites More sharing options...
Fosters Posted February 20, 2018 Share Posted February 20, 2018 This application hides all subforums on the index page Link to comment Share on other sites More sharing options...
gavpedz Posted February 20, 2018 Author Share Posted February 20, 2018 Thanks will try those suggestions. ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.