Tagged: x
-
AuthorPosts
-
January 12, 2017 at 2:49 am #1326897
Hi,
I just moved my local theme config to the live site. Everything seems fine, except then the search form is not working, where locally it worked fine.
I have checked the installed plugin, except SSL plugins and security plugin all other plugins are same as local. I use a child theme.
The blog URL is https://bloginfos.com
Could you help please?
Thanks in advance
Hubert
Hubert
January 12, 2017 at 3:38 am #1326959Hi HUbert,
To fix it, you can try adding this in Custom > Edit Global Javascript.
jQuery(function($) { var $trigger = $('.x-btn-navbar-search'); var $formWrap = $('.x-searchform-overlay'); var $input = $formWrap.find('.search-query'); var escKey = 27; function clearSearch() { $formWrap.toggleClass('in'); setTimeout(function() { $input.val(''); }, 350); } $trigger.on('touchstart click', function(e) { e.preventDefault(); $formWrap.toggleClass('in'); $input.focus(); }); $formWrap.on('touchstart click', function(e) { if ( ! $(e.target).hasClass('search-query') ) { clearSearch(); } }); $(document).keydown(function(e) { if ( e.which === escKey ) { if ( $formWrap.hasClass('in') ) { clearSearch(); } } }); });
Hope that helps
January 12, 2017 at 4:02 am #1326977Hi Paul,
Thanks for your answer. I just applied it, but nothing changed, tried on different browsers.
I think it must be something different because the Bloom widget doesn’t show, the mobile menu doesn’t work too on a tablet or smartphone. I think everything is linked.
Thanks again
Hubert
January 12, 2017 at 4:25 am #1326994Hi Paul,
I’ve searched further and removed 2 footer widgets. The bloom form appears again and the mobile menu works good. The only thing left over is the search not working.
Hubert
January 12, 2017 at 4:35 am #1327000Sorry to bother you
False joy. It works with Chrome, but with Opera or Firefox the Bloom widget doesn’t show at all.
Back to the earlier point.
January 12, 2017 at 5:17 am #1327028This reply has been marked as private.January 12, 2017 at 6:53 am #1327108Hi Hubert,
I can see your using cache plugin.
Please clear your plugin cache and browser cache then check again.
Thanks
January 12, 2017 at 8:43 am #1327226Hi Paul,
I just did what you asked and nothing changed. The Search section is still not working, and under Firefox and Opera search and Bloom widget don’t work
Hubert
January 12, 2017 at 12:26 pm #1327529Hi again,
I tried to access your admin panel but MY IP address has been banned by your server:
Your IP address has been banned from our server
Can you please disable the security for a while so we can take a look at your current setup.
Thanks!
January 13, 2017 at 1:05 am #1328399Hi Nabeel,
I’m under heavy attacks, the better solution would be you give me your IP and I’ll white list it
Hubert
January 13, 2017 at 1:33 am #1328422Hi Hubert,
We’re different staff on different places. It is a loop anyone can get this thread . Providing specific IP address is not recommended. I tried to access it even using VPN and I am not able to login too.
January 13, 2017 at 1:56 am #1328437Hi Lely,
Could you at least give me the begining of your IP xxx.xxx
January 13, 2017 at 3:20 am #1328512Hi there,
Still the same, since we’re from different countries. And our IPs are dynamic which could change anytime. Please disable the restriction temporarily.
Thanks!
January 13, 2017 at 3:52 am #1328546Hi Rad,
I use iThemes Security and don’t have any specific restrictions set. I don’t know what to do more
January 13, 2017 at 7:14 am #1328710Hi,
Please deactivate the plugin for a while so we can check.
Thanks
-
AuthorPosts