How to display Parent Category only in the mega menu ?

Posted in: Newspaper
Post count: 17

Hello, I use the big menu and I display categories on it. On my categories, I have some children categories attached to the Parent Category.

But on the menu I see children categories. It’s possible to only display the parents and not the parent + child ?

Like this attached pictures. (my english is bad so that will help you to understand).

http://www.noelshack.com/2018-02-1-1515426171-qsdqsdqsdqsdqsd.jpg

Thanks

Post count: 17

what I want is finally just to hide the sub cat shown on the big menu. Maybe with a code like that :

.xxx #xxx {
display: none;
}

but I don’t know by what I should replace the xxx

  • This reply was modified 8 years by Cthulhus.
Post count: 17

no body please? The grand opening of my website is soon and it’s important to know please. I’m sure that should be possible but I don’t know how.

Post count: 20688

Hi,

If you keep replying in the topic this will only delay the response, we answer from oldest to newest. Please try to provide all the details in the initial post, or as the topic progresses.
That is a mega-menu with sub-categories, that is how it functions. The users will hover the sub-categories and posts from theme will be presented on the right.
There is a mega-menu without categories, like this
https://www.screencast.com/t/mfcUuir8
This menu will not display sub-categories on the left, it needs a category that does not have any, this is a guide
https://forum.tagdiv.com/mega-menu/
I could give you a code to hide the sub-categories as well, like this
https://www.screencast.com/t/dZHJJwDDs

.td_block_mega_menu .block-mega-child-cats a:not(:first-child) {
display: none;
}

This code will apply to all the mega-menus you have, it could be made more specific but I would need a link to your website if possible. Enter it in Theme panel->Custom CSS.

Thanks

Post count: 17

THANKS ! appreciate ! ok I’ll not bump my topics next time

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