Remove price per night but not price for selected dates

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Remove price per night but not price for selected dates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1555918
    Bjarke Wolmar
    Participant

    I used the CSS provided in this thread to remove the “Prices start at” from [mphb_room] shortcode, but this also removes the price that appears when you select dates on the calendar. Is there a way to only remove the “Prices start at” that shows the daily price under the details section, and not remove the price that shows when you have selected dates on the calendar?

    See example from my site(in danish) https://imgur.com/a/aoLkHBo

    #1559624
    J. Davis
    Keymaster

    Hi Bjarke,
    You can try to get this resolved by using the following style:

    .single-mphb_room_type .mphb-regular-price {
      display:none;
    }
    
    .single-mphb_room_type .mphb-reserve-room-section .mphb-regular-price{
      display:block;
    }

    It will work on single accommodation type pages.

    #1560473
    Bjarke Wolmar
    Participant

    That worked! Thank you!

    #1561234
    Bjarke Wolmar
    Participant

    Can I add something to the css to remove the start price from the search results page as well?

    #1562956
    J. Davis
    Keymaster

    Hi Bjarke,
    The updated first part of the style will look like this:

    .mphb_sc_search_results-wrapper  .mphb-regular-price, .single-mphb_room_type .mphb-regular-price {
      display:none;
    }
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.