New Landing How can we help? Atelier Search trouble

Viewing 15 posts - 1 through 15 (of 40 total)
  • Posted in: Atelier
  • #321650
    HanneTBH
    Member
    Post count: 102

    I’m having a bit of trouble with the search function on my site – this started after I updated to the newest version of the theme. What happens is that when I start typing in something to search for, it immediately says “no results”. However, if I press enter and do the search anyway, the search results are returned as they should. So it is just a matter of removing the “no results”-comment from below the search field as one searches. Can you help?

    #321921
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    What is the URL/login for the site you mention?

    #321924
    HanneTBH
    Member
    Post count: 102
    This reply has been marked as private.
    #321930
    David Martin – Support
    Moderator
    Post count: 20834

    1) You ajax looks to not be returning results correctly, please open your wp-config.php file and add this: define('WP_MEMORY_LIMIT', '256M');

    2) You can also disable the Header Ajax Search, this will stop ajax and the form will be a standard search form: Theme Options => Header Options => Header Search => Standard Search (No AjAX)

    #325896
    HanneTBH
    Member
    Post count: 102

    Sorry about the delay in replying! I have finally had help adding the above to the php file, but it doesn’t seem to help. I would love to keep the ajax function if possible – is there anything else I can do to fix the problem?

    #326090
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You can submit a paid customisation request: http://www.swiftideas.com/customization/ or look to work with a 3rd party developer:

    https://codeable.io

    Home


    http://www.microlancer.com

    #326098
    HanneTBH
    Member
    Post count: 102

    But isn’t this something that is a part of the theme and should be working? Or is the ajax search part of one of the plugins or something? It used to work until I updated the theme…?

    #326101
    David Martin – Support
    Moderator
    Post count: 20834

    So sorry, I misread and thought you were looking to modify the output. Face palm.

    I’ll take a closer look now.

    #326103
    HanneTBH
    Member
    Post count: 102

    Haha, thanks! ๐Ÿ™‚

    #326197
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you now test your search again?

    Initially, your search returns no results, ever from what I could see.

    #326200
    HanneTBH
    Member
    Post count: 102

    It appears to be working now! ๐Ÿ™‚
    (It looks a little bit funny, though – the little box in which the ajax results are displayed as I input the text cuts straight through the middle of words and sentences – but that’s maybe just how it is?)

    #326206
    David Martin – Support
    Moderator
    Post count: 20834

    Can you screenshot that to confirm what you see?

    #326212
    HanneTBH
    Member
    Post count: 102

    Here’s an example:

    Attachments:
    You must be logged in to view attached files.
    #326381
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Please can you add this CSS:

    .search-result .search-item-content em {
        word-break: break-word;
        overflow: hidden;
        white-space: normal;
    }

    That should sort the overflow issue!

    – Ed

    #326627
    HanneTBH
    Member
    Post count: 102

    That fixed it! Thank you!

Viewing 15 posts - 1 through 15 (of 40 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register