- This topic has 5 replies, 3 voices, and was last updated 3 years, 6 months ago by Tom.
-
AuthorPosts
-
September 4, 2020 at 3:27 am #1430475Michael
Oh what a time I’m having trying to implement Ajax Search Pro
Documentation on their website says for generatepress works out of the box, it doesn’t.
Tried all manner of things, then I thought. I know. Have an off canvas search. Enabled that, added the widget and for some reason the hamburger menu appears on my main nav. When I click the hamburger I get a menu that includes a downloads widget (which isn’t in the widget list) and the ajax search pro widget.
Looks bad, and what’s more the ajax search doesn’t work. Looking in the console there’s not found errors for the off canvas java.
What I’d really like is to replace your search on main nav, with the ajax search pro. Have looked through the forums here for solutions, but I just can’t get any to work. I use max mega menu to confuse things further, and their documentation for adding ajax search pro refers to clicking “replacements” which isn’t an option with the version I have, which is new.
Any help, greatly appreciated. I’d be happy to have search on an off canvas menu, or on the main nav as long as it worked in the same way yours does with the drop down box etc. I can’t really leave the hamburger menu on the main nav as it’s going to confuse visitors.
This is what it looks like on the menu..
This is what the off canvas looks like
September 4, 2020 at 1:58 pm #1431236TomLead DeveloperLead DeveloperHi there,
Have you checked with their support on this, yet? What should the “Site Search” button in the main navigation right now do when clicked?
When you add the site search to the off-canvas panel widget area, it simply doesn’t show? Can I see that?
September 5, 2020 at 3:16 am #1431641MichaelHi Tom,
I’ve left the off canvas option on so you can see. It adds two widgets, even though there’s only one added to it. It adds the download navigation (looks like) and the ajax search widget (which doesn’t work.. ie doesn’t find anything).
I’ve contacted their support, and still waiting on a response.
Ideally I’d like the site search to drop down a box that can be typed in, and the ajax search does it’s thing live searching etc. If that’s not possible, I was going to have an off canvas version of the same.
September 5, 2020 at 9:23 am #1432108DavidStaffCustomer SupportHi there,
i am not seeing the Off Canvas toggle in the navigation ?
September 6, 2020 at 1:42 am #1432586MichaelHi David
I had to remove it. I did manage to get a semi working version inside the off canvas, it would show the search box, and allow typing, but it wouldnt show the results. Eventually traced the source of the problem and now I have the search box as a widget inside the navigation menu. I think off canvas may have looked better, and it may be something to do with focus. Main thing is though it is working now.
September 6, 2020 at 9:59 am #1433063TomLead DeveloperLead DeveloperGlad you got it working 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.