Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1328748

    redwhirl
    Participant

    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

    #1329238

    Rad
    Moderator
    This reply has been marked as private.
    #1329938

    redwhirl
    Participant

    Hi 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

    #1331031

    Rad
    Moderator

    Hi 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!

    #1331618

    redwhirl
    Participant
    This reply has been marked as private.
    #1331619

    redwhirl
    Participant

    I just deactivated minification (HTML, CSS, JS and Google Fonts. The cache has also be cleared

    Hubert

    #1331635

    Paul R
    Moderator

    Hi 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

    #1331652

    redwhirl
    Participant

    Hi 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

    #1331662

    Christopher
    Moderator

    Hi there,

    To translate strings, check this link : https://community.theme.co/kb/translation

    Hope it helps.

    #1331681

    redwhirl
    Participant

    Hi 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

    #1331698

    Paul R
    Moderator

    You’re welcome! 🙂