MG 2.2 Disable the child categories block but keep them in the side nav?

Kevin

Well-known member
For reference: https://wlt80s.com/gallery/categories/80s-music-videos.2/ (WIP, everything about it is subject to change)

I have a parent category with many child categories. When displaying the category is there an option to not display the block of child categories at the top of the main content area while keeping them listed in the side nav menu? And also then not displaying the "The items displayed on this page are being displayed from child categories." notice?
 
Solution
Try this.

Less:
[data-container-key = "xfmgCategory-2"]
{
    .p-body-content
    {
        & .blockMessage,
        & .block:nth-child(2)
        {
            display: none
        }
    }   
}

Change the category ID to suit.

Brogan

XenForo moderator
Staff member
Try this.

Less:
[data-container-key = "xfmgCategory-2"]
{
    .p-body-content
    {
        & .blockMessage,
        & .block:nth-child(2)
        {
            display: none
        }
    }   
}

Change the category ID to suit.
 
Solution
Top