Fix the Custom Menu Items Limit
- This topic has 8 replies, 2 voices, and was last updated 3 years, 2 months ago by
petra.
-
AuthorPosts
-
February 24, 2020 at 12:06 pm #24789
petra
ParticipantHello,
I’m Petra from CigalesGourmandes.fr hoping you can help me with two things. One of it is really serious: my site has up to 300 items. I cannot put all of them into my menus (main and sub), after about 50 items the whole menu exploses each time! Is there any solution? Also I would like to remove the date targets on archive pages (not on post pages) I cannot find this.Thanks in advance for your advice,
Best regards
Petra
February 24, 2020 at 1:42 pm #24797Zex
ModeratorHello, Petra!
The first problem you have isn’t a theme / WordPress problem.
It is the web server that limits the number of menu items.I don’t actually recommend having 300 menu items. The general rule is that having more than 100 links on a page can have a negative impact on SEO. Plus, presenting a user with 300 options is generally overkill, and you should probably be rethinking the navigation on your site to make it more user-friendly.
Anyway, it’s possible to increase the menu items limit, but since this is a Server-side issue, you need to do it by yourself or ask your hosting provider support to do that for you.
Please read the following articles:
https://themes.artbees.net/blog/custom-menu-items-limit-in-wordpress/
https://docs.presscustomizr.com/article/221-fixing-the-menu-item-limit-issue-in-wordpressAs for the second question you have…
Try to insert the following code into Customizing->General->Additional CSS:.archive .entry-date{ display:none!important; } .archive .list-style .entry-content{ margin-left:0px!important; }
Can you give me a link to the page where you want to show the date?
Regards
February 24, 2020 at 2:16 pm #24809petra
ParticipantHello again,
thanks for your feedback! the code to remove date boxes on archive pages works well! Thank you so much.
Concerning my menu problem I want to let you know that I’m working on a culinary site. My category culinary arts (art culinaire) includes about 15 sub categories. I’m using mega menu and I thought it would be easier for my visitors to find the plate they are looking for immediately in second submenus. Of course I’m working with carousels, tags and links, but a complete menu would be faster and could give ideas to visitors. What do you think?
Thanks for your feedback
Best
Petra
CigalesGourmandes.frFebruary 24, 2020 at 2:31 pm #24810Zex
ModeratorHi, Petra!
I like the design of your website. I think you got it right. It’s probably the fastest way to get to the item using the menu.
Maybe you could create a special menu for your recipes and add it to the sidebar using the widget. (I think the Megamenu also has this option).Regards
April 2, 2020 at 10:49 am #26055petra
ParticipantHello again,
thanks for your advice concerning my menus.
Another problem: I can’t center my site title or logo on mobile devices.
Can you help me ?
Thanks in advance!
PetraApril 2, 2020 at 11:12 am #26056Zex
ModeratorHello, Petra!
Please, insert the following code into Customizing->General->Additional CSS:
/*Center the Title*/ @media screen and (max-width: 992px){ header.header_v1 hgroup { justify-content:center!important; } } /*Adjust Site Title width */ @media screen and (max-width: 480px){ #masthead .site-title a{ font-size:7vw!important; } }
Regards
April 2, 2020 at 2:38 pm #26057petra
ParticipantThank you so much !
I’m sure you also can help me to place a search bar or icon on headers on mobile devices?
Thanks in advance,
Petra
CigalesGourmandes.frApril 2, 2020 at 3:11 pm #26058Zex
ModeratorHello, Petra!
I’m glad the above codes work.
The native Agama-Pro mobile menu has the search icon beside the Hamburger menu, but since you don’t use it, you need to try to add the search through the Max Mega Menu plugin (Probably somewhere in the plugin setting exist the option to show it on the mobile menu too).
Or you can try to add the search function using the Ivory Search plugin.Regards
April 2, 2020 at 5:38 pm #26059petra
ParticipantI see. Thank you so much all your help.
Have a good day,
Regards
Petra -
AuthorPosts
- You must be logged in to reply to this topic.