Hello – I’ve used Enfold to create a one-page site that works great – with anchor links and sections that scroll up and down – as long as I don’t leave the page. I’ve also included the search tool in the nav bar. If a visitor does a search, the nav items no longer work from the search results page. I’m sure you’ve addressed this, but I haven’t been able to find the answer. Will you tell me how to make the scrolling-anchor-linked navigation work regardless of whether the visitor is on the main page or a search-result-generated page?
Many thanks for a fantastic theme.
Use the search function … sometimes it helps :-)
You have to switch your menu …
Use this plugin to make the menu appear conditionally:
https://wordpress.org/plugins/zen-menu-logic/
Josue told me … had the same problem :-)
Bye
Hi!
You can also make the links to your anchors point to your main url and then the anchor. so instead of just #welcome it would be http://yoursite.com/#welcome .
The plugin option to change the actual visible button depending on the page is a good one too.
Cheers!
Devin
True, but if she does so, the parallax effect will be lost when she navigates to search site for example …
Because the #link jumps directly without scroll …
I had the same problem and the plugin fixed it for me :-)
Hi!
If you just want to show/hide/replace some menu links on a certain page you can also activate the “conditional menu” which comes with Enfold. Just insert this code into the child theme functions.php file:
add_theme_support('avia_conditionals_for_mega_menu');
and Enfold will add some options to the menu page (Appearance > Menus) which help you to configure the visibility of the menu items.
Best regards,
Peter
Thank you all for your help! It works, and I’m very happy with my site. I love the theme and truly appreciate the great community (I’m talking to YOU, docperi) and support you provide.
T.