Remove "All" Sub-category in Mega Menu

Posted in: Newspaper
Post count: 13

Hello,

How could I remove “All” subcategory for example under Lifestyle Category in the main menu of this demo:
https://demo.tagdiv.com/newspaper_magazine/

Thanks!

Post count: 10

Hi, i would also like to know if there is a way to do it.

Post count: 13

Anyone to answer us ?

Post count: 20688

Hi,

In order to remove “All” from the mega menu you must edit the file td_block_mega_menu.php found in the Theme folder->includes->shortcodes and comment this line of code like here – https://www.screencast.com/t/ua9wHUg6Yu

Result – https://www.screencast.com/t/3Yv9lQk6X

Thanks

Post count: 13

Ok Simion thank you, “All” is indeed removed but the pictures stay on mouse-over of Lifestyle (when you refresh the page)

Post count: 13

Actually you have the picture of all posts and not only from the subcategory when you mouse-over the menu

Post count: 20688

Hi,

I understand what you mean and want to achieve but unfortunately that is the way the theme works, when you hover the mega menu item containing sub-categories it will display content from those sub-categories. For example when you hover Lifestyle, it displays posts from it’s sub-categories – https://www.screencast.com/t/MmRmxpFAdD and does not jump to the first item in the mega menu. Removing “All” does not remove the sorting implementation and functionality in the mega menu, it just removes the link text.

Thank you for undestanding

Post count: 10

Thanks for the answer, it fits enough for me.

Post count: 13

Ok thank you Simion, it’s clear for me too

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