Remove Image Link in Single Accommodation

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #1292558
    Mael Houck
    Participant

    I am really interested to know how this is solved.

    In search result, I would like the featured image and gallery to display but I do not want the featured image to link to the accommodation’s page. I explore two different option.

    1.How might I remove the link using CSS?
    2.Can I specify a different URL?

    Thanks

    #1293022
    J. Davis
    Keymaster

    Hi Mael,

    Thanks for contacting us. You may try to add the style below to Appearance > Customize > Additional CSS in order to disable all the links for each accommodation type in the list of the search results:

    
    mphb_sc_search_results-wrapper a:not(.mphb-remove-from-reservation, .flex-next,.flex-prev){
    pointer-events: none;
    }

    Let me know if it is helpful.

    best regards,
    J. Davis

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