Remove Amenity link

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #673668
    Massimo BH

    is there a way to remove Amenity links from the front slide and from all the other sections?

    Stacy Lind

    Hi Ben,

    Add the following code to Appearance > Customize > Additional CSS:

    .mphb-attribute-value {
      pointer-events: none;
      cursor: default;
      text-decoration: none;

    This will unlink all the amenities on the website.

    Massimo BH

    It works perfectly.
    Thanks for the support Stacy!

    Luke Knowles

    The link is still in the code. Is there a way to remove it from the code where it won’t come back each time the theme updates?

    J. Davis

    Hi Luke,

    If you need to remove link tags you can do that by overriding templates of plugin. For example copy the following file


    and paste to

    \wp-content\themes\your-theme_folder\hotel-booking\loop-room-type\attributes\ (you will need to create 3 last directories inside your theme folder)

    Then open the copied file and edit it to remove link from amenities e.g. replace the line below
    return sprintf( '<a href="%s">%s</a>', esc_url( $facilityLink ), $facility->name );

    with this
    return $facility->name;

    Nicolas Stübi (SPMA Sàrl)


    Is it possible to also deactivate the hyperlink on images of accommodations?

    And ideally, also the title.


    J. Davis

    Hi Nicolas,

    Could you clarify your case more detailed? Do you mean you wish to disable link of the title and gallery that are parts of [mphb_room] shortcode (Accommodation Type block/widget)?
    Examples or screenshots are appreciated.

    best regards,
    John Davis

    Jan Turek

    Hello, can I contribute to this? I wonder how can I remove the link from Accommodation Title (when I use Single Accommodation Elementor Widget). I want to have the title, but I dont want to be linked to a special page.

    Also in isted Accommodation details the Anemities are written as colour of link – can I change it to have it as for examle View?

    Andre Flores

    Hello, Jan!

    You may disable the accommodation type title link by adding the following code under Appearance ->Customize ->Additional CSS:

    .mphb_sc_room-wrapper .mphb-room-type-title, .mphb_sc_rooms-wrapper .mphb-room-type-title, .mphb_sc_search_results-wrapper .mphb-room-type-title {
    	pointer-events: none;

    To change the amenities hover color use the following code:

    .mphb-single-room-type-attributes a:hover, .mphb-loop-room-type-attributes a:hover, .loop-room-short-attributes a:hover {
    	color: #13b0bb;

    Replace #13b0bb with any desired color. You may find all the HEX color codes here.


    Levent Emektar


    How do I need to adjust the code to be able to implement this with the current version of MotoPress? The code of the facilities.php file seems to have changed.

    Many greetings

    J. Davis

    Hi Levent,
    The described solution is for the Hotel Booking plugin at the Villagio theme. Do you also use Villagio and the styles are not helpful?

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