This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Categories, custom categories (Series, channel, playlist) show image in search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Categories, custom categories (Series, channel, playlist) show image in search

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #14368
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It’s because of this theme CSS rule, it makes it invisible with 0 opacity:

    [html].cactus-header-search-form form {visibility: hidden; opacity: 0; position: absolute;top: 0;left: 0;bottom: 0;right: 0;background-color:rgba(38,38,38,1.0);transition: all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;}[/html]

    Try adding this rule:

    [html].probox .proinput form {
    opacity: 1 !important;
    display: block;
    visibility: visible;
    background: transparent !important;
    }[/html]

    #14373
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Also, on mobile devices the widget container is too small, just a few pixels, and it does not fit correctly.
    I would suggest the following rule:

    [html]@media screen and (max-width: 436px) {
    .cactus-header-search-form {
    display: block !important;
    }
    }[/html]

    It will ‘drop’ the search below the menu on low-width devices: http://i.imgur.com/uBnHnBn.png

    #14377
    golaszegolasze
    Participant

    You cannot access this content.

    #14384
    golaszegolasze
    Participant

    No working when sticky menu option is enabled

    #14391
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It is because the sticky menu makes a DOM copy of the search HTML and places it into itself. This results in invalid HTML and loss of attached event handlers, as copying HTML elements does not copy the event handlers as well.

    Unfortunately this is not possible to resolve with any custom code, as making duplicate elements of same IDs and names is not valid, and there is no way around it. It is not related to ajax search pro, unfortunately, if you would place any script powered element into the sticky menu, it would very likely fail as well.

    #14398
    golaszegolasze
    Participant

    Why in default theme sticky search bar is working correctly, but in custom build up plugin not?

    #14401
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Probably because it was developed with the theme, and the script was made to handle that.

    #16250
    golaszegolasze
    Participant

    You cannot access this content.

    #16271
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    1. Could you please try this variation:

    This will only affect the live results.

    2. Make sure to update the plugin to the latest release (4.11.10), as this was a known issue with the previous one.

    #16277
    golaszegolasze
    Participant

    You cannot access this content.

    #16283
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    There seems to be invalid HTML within the results, that causes the problem. It happens when there is an unclosed tag within the content, but it’s hard to tell. I can see some ‘a’ and ‘strong’ tags unclosed there in the results.

    If you use the advanced title or content fields, make sure to check if there is no unclosed or invalid tag there (scroll down fo the options): https://i.imgur.com/49880D3.png

    On the same panel, if there is any exception for the HTML tags to strip, I recommend disabling those as well: https://i.imgur.com/fxgeMj1.png

    Don’t forget to clear the search cache as well, after changing these options.

    #16295
    golaszegolasze
    Participant

    working, thanks

    #16300
    golaszegolasze
    Participant

    You cannot access this content.

    #16313
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I believe that is due to a javascript issue, I think it is caused by a previous code suggestion. On those pages the login form is not visible at all times, and the custom code malfunctions.

    Please try replacing it with this one, and make sure to clear the cache as well. This will check the form existence first:

    #16332
    golaszegolasze
    Participant

    You cannot access this content.

Viewing 15 posts - 16 through 30 (of 36 total)
  • The topic ‘Categories, custom categories (Series, channel, playlist) show image in search’ is closed to new replies.