Tonal Menu Help
-
I am having troubles with my menu on the Tonal theme. My menu (on both mobile and desktop versions–I haven’t tried tablet) will take several minutes (2-5) to become “accessible.” Until then, I click it and it does nothing.
The blog I need help with is: (visible only to logged in users)
-
Hi there,
I see what you mean, though for me it only happened the first time I opened your site. On subsequent refreshes it goes relatively fast.
The issue here is that the code controlling the widget and menu area are among the last your theme loads. In other words, the theme first waits for the content to finish loading, before it loads the menu.
That means it might help if you give the theme a little less content to load initially. Can you go to Settings ->Reading and change the number of posts that load to, say, five instead of the current ten? Then check if that makes any difference in the loading time.
Something else that might help is to not show the full posts on the front page, but only an excerpt of each post. If you’d like to try that, you can do it by inserting the More block into your posts:
https://wordpress.com/en/support/wordpress-editor/blocks/more-block/
Let me know if those make no difference for you.
-
-
I have limited my posts to five and changed all post previews to only show excerpts. Menu is still taking about 30 seconds to load. Is there any way to move the code for the menu so that it loads first, instead of last?
-
I’m afraid not. Changing this would mean significantly redesigning how the entire theme works. And just about every WordPress theme works this way – page content and visible theme elements always load first, while hidden elements, like the site menu that’s hidden behind a button in this case, load last.
Try thinking about it from the perspective of a random visitor to your site: when landing on a website, most people don’t immediately click on the menu. Most people will reach your site via a link to a specific post or page that they clicked in an email, on a social media post, or in a Google search result, and the first thing they’ll do once the site opens is to read/scroll through the content of that post/page.
Only once they’re done doing that, and only if they didn’t click any links in the post itself, related posts, or the next/previous post links at the bottom, will they go back up to the menu to see if there might be other content on the site that they’re interested in, and by that time the menu would have finished loading.
All WordPress themes are built on this assumption of visitor behaviour.
I know this isn’t the answer you’re looking for, but I hope it helps to understand why the theme works the way it does :)
-
- The topic ‘Tonal Menu Help’ is closed to new replies.