Turn off Hyperlinks

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46677
    popthetop
    popthetop
    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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.