Tagged: x
-
AuthorPosts
-
January 13, 2017 at 7:53 am #1328748
As I told you earler I am under heavy attacks since a couple days, and I don’t think it’s a good idea to shut down the security features from my site.
Don’t you have another solution?
Thanks
January 13, 2017 at 4:12 pm #1329238This reply has been marked as private.January 14, 2017 at 9:25 am #1329938Hi Rad,
Thanks for your IP, I have added it to the white list. I’m not in the urge.
I’ll check further during the week-end.Thanks for your help
Hubert
January 15, 2017 at 1:10 pm #1331031Hi there,
Thanks, but the login is incorrect. Please provide the latest one.
And upon initially checking the error is originating from minified cache, please purge/clean the cache and disable it temporarily while checking.
Thanks!
January 16, 2017 at 1:54 am #1331618This reply has been marked as private.January 16, 2017 at 1:57 am #1331619I just deactivated minification (HTML, CSS, JS and Google Fonts. The cache has also be cleared
Hubert
January 16, 2017 at 2:12 am #1331635Hi Hubert,
Please try adding this code again in Custom JS.
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(); } } }); });
I tried adding it via console and it seems to work.
See Video – https://www.screencast.com/t/rDWjeKX0
January 16, 2017 at 2:30 am #1331652Hi Rad,
I had already added this code, suggested by Paul at the beginning of the thread.
So, I removed it, and gues what, everything is working fine, the search fonction is ok and Bloom widget works too, on Edge, Firefox, outlook etc.
Just a last question, where can I translate the “Type and Press enter to search” from the search page?
Thanks
Hubert
January 16, 2017 at 2:39 am #1331662Hi there,
To translate strings, check this link : https://community.theme.co/kb/translation
Hope it helps.
January 16, 2017 at 2:59 am #1331681Hi Christopher,
Thanks for your help.
Please thank all your team mates for the help they profide me.
Wish you all a good day
Hubert
PS: This thread is resolved
January 16, 2017 at 3:07 am #1331698You’re welcome! 🙂
-
AuthorPosts