Mega Menu with Tertiary Categories

Posted in: Newspaper
Post count: 39

Hi, I have a main category news, then sub-categories as well as a few tertiary categories. When I create a mega menu for the main category, it of course includes the sub-categories as it should, but also lists the tertiary categories. Is there a way to eliminate the tertiary categories and only display the sub-categories in the mega-menu?

Post count: 35449

Hi,

Unfortunately our theme do not have an option of this, but this can be achieve with custom css, please provide me a link were I can inspect your mega menu and please provide some details about tertiary categories ( which those are ), in this way I will be able to provide you a custom css for this.

Thank you for your understanding!

Post count: 39

Hi Calin,

Thank you for the response. Any CSS help for this would be appreciated.

The site is found here: http://wordpress-215920-675370.cloudwaysapps.com/

On the main menu, you will see the primary category ‘News’. Under this there are sub-menus each of which have their own (tertiary) sub-menus. Here is a list of the sub-categories which should be part of the mega-menu – all others are tertiary and should not show.

Main – News
Sub-Categories (that should show) – Canada News, Local News, Ontario News, World News
All other tertiary cats should not show.

Calin, if you are also able to look at one more issue related to the menu, I would appreciate it. When you hover over the ‘Shows’ menu item, you will see this is also a mega-menu without sub-categories. There are currently 10 pages with the ‘Shows’ category. When you hover over the main menu item, the mega menu shows as it should. However, when you select the navigation arrow to see the next 5 shows, the mega-menu goes blank, and you can not get it back without refreshing the page.

If you are able to offer a CSS fix for the first News item and a solution to the Shows mega menu issue, I would greatly appreciate it.

Thank you in advance.
Tim

Post count: 35449

Hi,

Here is the code for mega menu, please set it in Newspaper>theme panel>Custom code>Custom css
.td_mega_menu_sub_cats a[href*="news"]{
display : none!important;
}
.td_mega_menu_sub_cats a[href$="/news/"],
.td_mega_menu_sub_cats a[href$="/canada-news/"],
.td_mega_menu_sub_cats a[href$="/world-news/"],
.td_mega_menu_sub_cats a[href$="/ontario/"],
.td_mega_menu_sub_cats a[href$="/local-news/"]
{
display : block!important;
}

-> https://www.screencast.com/t/w2UzaDZ9Jd

The mega menu from shows if not build after our documentation -> https://forum.tagdiv.com/mega-menu/ you set to pages some categories and set them in mega menu, this will not work, only for posts works this.
-> https://www.screencast.com/t/0cP6ihesyv5

Thank you for your understanding!

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