How to hide "ALL" sub category from mega menu

Posted in: Newspaper
Post count: 10

Hello Team,

I just don’t wish to show “ALL” option in mega menu. How can I disable it.
I only wish to show the actual subcategories.

Please help.

Thanks
Ankur

Post count: 20688

Hi,

If you use a cloud header template that is possible with a setting
http://prntscr.com/msx74s

If you don’t use a cloud header template, you could either comment the code as mentioned in this topic by Bogdan – https://forum.tagdiv.com/topic/order-of-navigation-items/

Or use a CSS code to hide it – http://prntscr.com/msx9si this code will apply to all the mega-menus with sub-categories (it can be made more precise if needed)

.block-mega-child-cats a:first-child{
display: none;
}

The code can be entered in the Theme panel custom CSS section.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.