Menu items in Category after "P" is missing from mega Menu

Posted in: Newspaper
Post count: 28

Hello, there is an issue where the mega menu does not display all my categories in the drop-down. Only categories up to a point is displayed and the rest omitted – almost as if there is a limit set somewhere. I have looked to see if somewhere I can find reference to a limit in the menu items. All I found was a reference to max_input_vars – This I checked, it is 5000 and ought to be fine. Please assist in advice what I can also look for to be able to display all the categories in my menu.

Post count: 21065

Hello!

If you edit the header main menu with TagDiv Composer, in the mega menu tab, then you can find this setting: https://www.screencast.com/t/myfym4v87 Please increase that limit in order to have all the subcategories.

Hope that helps you!

Thank you!

Post count: 28

🙂 Thanks for reply.

The menu used is bundled in with the theme, I did not separately add the menu as a component via TDC – is there a way to edit this header menu with TDC?

Post count: 28

Basically I need a way to edit the subcategory count in the Global Template. Is there perhaps a function I can use to override this number?

Post count: 18283

Hello!

As you can see here this are the options to allow more posts in your menu:https://www.screencast.com/t/k1Bo0RAiSr We highly recommend using Cloud library templates.

Thank you!

Post count: 28

Thank you Vlad, the reason I am still using the global template is that we are running a live site serving ads and 4 of these are in the Global Header position / 3. The menu is part of this Global header. For some reason, when I open my HOME page with TagDiv composer, there is no option found to edit the menu area. Am I missing something – we are using a child-theme.

Post count: 18283

Hello!

If you are using a Global header, TagDiv Composer can’t work on it. You can however import a cloud library header to edit it. You can edit without setting it as a header and see how it will look.

I hope this was helpful!
Thank you!

Post count: 28

Thanks Vlad and Bettina for suggesting the Cloud library template route. The effort was made to recreate the current site header using the imported template. The problem with this mega-menu is that it opens a large page and you cannot scroll down to see all the categories, so this option also does not work for me.

I do think however there ought to be a way to set this subcategory count in the global theme, is it possible to escalate this request to the theme developers? They will know the variable to access to change this subcategory count number via the functions file.

enjoY a fantastic day!

Post count: 27744

Hello,

You can do changes to drop-down menu in this file wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php The limit is 30 subcategories as you can see here -> https://www.screencast.com/t/wbw31Vq0eB1D

Thank you!

Post count: 28

Many thanks Anamaria, perfect.

Post count: 28

Hi Guys – After more than a year of absence I am back with another question relating to this topic. I hope you can assist.

It looks like only 50 subcategory items are displayed in the mobile menu.

This issue relates mainly to the FrontPage and Category / Archive pages. Newspaper theme is engaged here with the dedicated Mobile Page (mobile theme not active). Firstly, the output is not collecting the correct mobile menu as it is set to do – it is grabbing the desktop menu. In this case only the first 50 or so categories are displayed.

On the single pages, AMP + Mobile Theme is displaying the posts. In this part, the correct mobile menu is collected and displayed with all the subcategories.

Any ideas what I can look at to get around this?

Post count: 27744

Hello,

Please provide the link tou your website to inspect it.
Also, please provide some screenshots.

Thank you!

Post count: 28

hello,

Link to site: https://www.cbn.co.za/

Not sure how to upload screenshots here, https://we.tl/t-2QnVugD1cS

What I see is happening is: The same menu is used for the desktop version and the mobile page. This is due to setting mobile theme to only activate on AMP. – Setting in Theme Panel.
This being so, I can work with that but the sub category menu items does not all display.

The question then is, is there a config setting in PHP that can alter the amount of sub categories displayed in the mobile menu? Or is there a way with the cloud header manager to create a different header for mobile and desktop to call on different menus?

I would like the same mobile header to be displayed for FP, Loop and single pages.

thanks for taking the time to assist!

Post count: 27744

Hello,

Please use this custom code css .td-mobile-content .td-sub-menu-open > ul {
max-height: 3000px;
}

Set the code in Theme Panel -> Mobile Theme -> Custom CSS.

Thank you!

Post count: 28

Hey Anamaria, works perfect, thank you! Great solution.

Awesome support.

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