Site logo

[Support request] mysterious element behavior

Home Forums Support [Support request] mysterious element behavior

Home Forums Support mysterious element behavior

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2087526
    Leslie

    Hi, I am using a hook element to add a horizontal line before each post title on search results and archive pages. The <hr> element works perfectly on archive pages. But very strangely, the <hr> elemement sometimes shows, and sometimes doesn’t, on search results pages. I have tried a million variations in my style.css and the hook element to try to make it work reliably, to no avail. Below are two of my search results pages, the first where the <hr> shows, and the second where it doesn’t.

    https://staging-lexata.kinsta.cloud/?s=interim+period

    https://staging-lexata.kinsta.cloud/?s=interim+financials

    Have you seen a problem like this before? Any idea what’s wrong?

    Login credentials for front end and wp admin below. Thanks! Leslie

    #2087565
    David
    Staff
    Customer Support

    Hi there,

    in the display rules – what happens if you add another Location: No Results ?

    #2087612
    Leslie

    That solves my problem! I have no idea why, but who cares! Thanks so much.

    #2087618
    David
    Staff
    Customer Support

    I think your AI Search loop finds stuff that WP search doesn’t so the template it uses is the search-no-results template, in your case that template is identical to one with results … so it don’t really matter 🙂

    #2087638
    Leslie

    Ok cool, thanks again.

    #2087640
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.