Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Remove price per night but not price for selected dates
- This topic has 4 replies, 2 voices, and was last updated 9 months, 3 weeks ago by J. Davis.
- AuthorPosts
- January 12, 2024 at 1:13 am #1555918Bjarke WolmarParticipant
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
January 19, 2024 at 5:44 am #1559624J. DavisKeymasterHi 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.
January 22, 2024 at 1:20 am #1560473Bjarke WolmarParticipantThat worked! Thank you!
January 23, 2024 at 5:37 am #1561234Bjarke WolmarParticipantCan I add something to the css to remove the start price from the search results page as well?
January 26, 2024 at 6:07 am #1562956J. DavisKeymasterHi 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; }
- AuthorPosts
- You must be logged in to reply to this topic.