I have The Events Calendar Pro plugin installed on my site (latest version) and I noticed that on the actual calendar or event list pages, the Enfold navigation search does not work. You will noticed that if you click on the search icon in the nav bar on this page http://millcreekmetro.wpengine.com/events/ , what appears to be part of the search box popup styling shows up in the center bottom of the screen. I have Enfold 2.0.1 installed. Please let me know if there is something I can do to fix this. Thanks!
I marked this thread for Kriesi. It seems like the tooltip function is attached to the wrong element (body instead of search icon/link) and this breaks the tooltip.
For whatever reason that I cannot find, once the plugin is activated the event target is changed. instead of the link the script thinks you clicked onto the body and therefore attaches the search box to the body.
You can fix that by opening avia.js in your JS folder and scroll down to line 1077 where it should read
var element = $(e.currentTarget),
chage that to
var element = $(e.target),
Although this will work in this instance its actually not correct, therefore I cannot add this as a permanent fix to the theme. If you need a permanent solution you probably need to ask the developer team of the events calendar what could be the cause of the problem here…
I had faced the same issue, and this fix works a treat, thanks Kriesi.
I also tried to see if I could have the js folder read from my child theme so that I don’t have issues with future Enfold updates, but I couldn’t get it to work. Is it possible to move the js folder in a child theme and have it reference properly?
The topic ‘Search Broken on The Events Calendar Pro Calendar pages’ is closed to new replies.