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

Turn off Hyperlinks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46677
    popthetoppopthetop
    Participant

    Hello,

    I am using ajax search pro to search posts on my website. The posts are song titles of a band’s setlist that the user can search through. The posts don’t contain any other content other than the name of the song and artist, so I don’t want users to be able to click on the search results. I am using the vertical dropdown to display search results. Please can you tell me how to remove the hyperlinks from the search results?

    Thanks,
    Joe

    #46678
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Joe,

    Sure, it is possible via using a small custom CSS snippet:

    .asp_r .overlap {
        display: none !important;
    }
    .asp_r a {
        pointer-events: none !important;
    }

    Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.

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