• Resolved yoniglez

    (@yoniglez)


    First of all, congratulations — the plugin delivers on what it promises, and if it gives me good results over time, I will definitely purchase the premium version. The only thing I’ve noticed that doesn’t work well — and I’m not sure why — is that whenever I search for something, anything, there’s a blank space in the first search result, whether I’m on a computer or mobile. I don’t know why this happens. Thank you.

    • This topic was modified 1 year ago by yoniglez.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Does this only happen when Relevanssi is enabled?

    This seems to be a CSS problem. You have this in your xstore.css file:

    .clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .modal-header:before, .modal-header:after, .modal-footer:before, .modal-footer:after {
    content: " ";
    display: table;
    }

    This causes the blank space (.row:before, specifically). If I remove that, the blank space disappears.

    This seems to be a theme problem, so theme support might be a better place to ask about this.

    Thread Starter yoniglez

    (@yoniglez)

    I’m writing to you because it’s only happening now that I’m trying your plugin; it doesn’t happen with the original WordPress search engine.

    Maybe any way to resolved it?

    Plugin Author Mikko Saari

    (@msaari)

    How is the search results page different without Relevanssi? Why doesn’t the .row:before empty space trigger when Relevanssi is not enabled?

    Relevanssi doesn’t do anything on the search results page; that’s fully up to your theme.

    In any case, since this is a CSS problem, the solution is to adjust the CSS: remove the empty space from .row:before somehow.

    Thread Starter yoniglez

    (@yoniglez)

    “I can’t find within the theme settings where that CSS is applied. Could you provide me with a CSS snippet to add to the theme to remove that space that only appears when I activate your plugin? Thank you very much.

    Plugin Author Mikko Saari

    (@msaari)

    No, because I don’t know anything about your theme. But you can remove the .row:before from the search results with

    .search-results .row:before {
    content: none;
    }

    and see how that works without Relevanssi. It’s possible it does nothing, in which case that’ll be a nice solution.

    Thread Starter yoniglez

    (@yoniglez)

    It worked, you guys are awesome!

    Thread Starter yoniglez

    (@yoniglez)

    I removed the space, but now on the phone, the results appear a bit distorted! Could you check and see what I can do? It should display like it does, for example, when you enter a category. Look at the difference! Thank You

    Plugin Author Mikko Saari

    (@msaari)

    Your archive.css has a width: 50% setting for .products-grid .product for narrow displays. Removing that fixes this problem.

    However, as far as I can tell, these are issues with your theme’s CSS. It’s not my product, and especially as it is a premium product, I suggest you take this to the XStore support. It is their product, not mine. I’m happy to help with Relevanssi problems.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘space start first result’ is closed to new replies.