The Cloudbeds PMS has a new look! As we work to update our knowledgebase some steps in our articles might not match our new design. Click here for more details.

Cloudbeds Booking Engine - Hide, Remove or Resize Elements

Follow

This article explains how to hide, remove or resize existing elements in your Cloudbeds Booking Engine.

  • For the Custom Meta Tags applicable code: Use the Gallery Design tab.
  • For color customization: Each color has a different code. If you need any reference, use the Color Picker tool to get your preferred color code.

Hide or Remove Booking Engine Elements

Hide/Remove the Children Column

Insert the code under Custom Meta Tags section:

<style>
th.children.custom-children {
visibility: hidden !important;
display: none;
}
td.children {
visibility: hidden !important;
display: none;
}
.av-children {
visibility: hidden !important;
display: none;
}
</style>
Click to copy
Hide/Remove the Children Column for certain rooms only

To hide the Children column and display it only for some rooms, make sure that the code to remove the children column from all of the rooms is taken off or erased. Add the following code along with the particular room ID:

This will only work when you do not allow guest to book a particular room in the Cloudbeds Booking Engine Settings.

<style>
[data-room-type-id="Room ID here"] .av-children {
visibility: hidden !important;
display: none;
}
</style>
zpcq2cr49IH26cpNz4qrzW9gbUJjiinytKysJ2tix-hQlMbSZyzLRbvQlihc9zoRPrre1pNT2zZ-QY1UYJxZrl2cwXTh_TE2LOPtMBuMvvmNRucJL3eoIxYGL2ADlG9Yf4xEOJH- (814×340) - Google Chrome
Hide the Restrictions Apply legend
<style>
/* hide avail. calendar blue dot */
.css-1rssrv2 .calendar-footer .notes .dot {
background: white;
}
/* hide avail. calendar "Restrictions apply" */
.css-1rssrv2 .calendar-footer .notes p {
display: none;
}
</style>
Hide Advance Amount on the Reservation Summary

Add the following code in Custom Meta Tags section and replace the sentence in red

<style>
.advance_amount {
visibility: hidden !important;
display: none;
}
</style>
Checkout - DEMO - Karina's Hostel - Google Chrome
Hide certain Property Information (address, phone, email)

Go to the booking engine and scroll down to the Property Information section, the fields with contact details are basically a numeric list on CSS side.


On the following example, Property Name is the field number 1, Address 1 is the field number 2 and so on.

To hide certain fields, add the following code and specify the number of field to hide after the code p:nth-child in brackets.


Example below, the 8th field on the list (Email) is hidden:

<style>
div.page-container.property_info > div > div > div.portlet-body > div.map_info > p:nth-child(8) {display:none; }
</style>
Remove the text and number of Children from the See Details Online Rate

Insert the code under Custom Meta Tags section:

<script type="text/javascript">
window.addEventListener('DOMContentLoaded', (event) => {
function deferLoadingJQuery() {
	if (window.jQuery) {
		// Initial page.
		setInterval(function() {
			if ($(".av-room-details .basic_prices").get(0)) {
                              $(".av-room-details .basic_prices").each(function() {
					$(this).html($(this).html().replace("adult", "guest"));
                                       $(this).html($(this).html().replace(/and.*$/i, ""));
                                       $(this).html($(this).html().replace(/and^\s+|\s+$/g, ""));
				});                     
			}
			// Change no results error message.
		}, 50);
	} else {
		setTimeout(function() { deferLoadingJQuery() }, 50);
	}
}
deferLoadingJQuery(); });
</script>
<style>
.av-per-person-price p.basic_prices::after {content: ")";}
</style>
Remove Children column when the option of selecting rooms to the guests is enabled

This will work when you allow guest to book a particular room in the Cloudbeds Booking Engine Settings.

The code below will remove the children column from all of the room types:

<style>
th.children.custom-children {
visibility: hidden;
display: none !important;
}

.btn-group.bootstrap-select.children_select.accommodation-select {
visibility: hidden !important; 
display: none !important;
}
</style>
Click to copy
Remove Children column when the option of selecting rooms to the guests is enabled for specific room types

This will work when you allow guest to book a particular room in the Cloudbeds Booking Engine Settings.

Add the following code to the Custom Meta Tag section and replace the red text with the desired room type code:

<style>
[data-room-type-id="00000"] th.children.custom-children {
visibility: hidden;
display: none !important;
}
[data-room-type-id="00000"] .btn-group.bootstrap-select.children_select.accommodation-select {
visibility: hidden; 
display: none !important;
}
</style

On the following example, we have hidden children column for the Standard Room only:

Remove the Adults column

Insert the code under Custom Meta Tags section:

<style>
th.adults.custom-adults {
visibility: hidden !important;
display: none;
}td.adults {
visibility: hidden !important;
display: none;
}.av-adults {
visibility: hidden !important;
display: none;
}
</style>
Click to copy
DEMO - Karina's Hostel - São Paulo, Brazil - Best Price Guarantee - Google Chrome
DEMO - Karina's Hostel - São Paulo, Brazil - Best Price Guarantee - Google Chrome
Remove the Price From text

Insert the code under the Custom Meta Tags section:

<style>
.av-rates .price-from {
visibility: hidden !important;
display: none;
}
</style>
Click to copy
Remove the Standard/Online Rate and the Additional Person Pricing from all of the room types
<style>
.av-per-person-price {
visibility: hidden !important;
display: none;
}
</style>
Click to copy
Remove the Maximum Occupancy field (all room types)

Add the following code to Custom Meta Tag section:

<style>
.av-occupancy {
display: none !important;
}
</style>
Click to copy
Remove the Maximum Occupancy field (specific room type)

Add the following code to the Custom Meta Tag section and replace the red text with the desired room type code:

<style>
[data-room-type-id="ROOM_ID_HERE"]  .av-occupancy {
display: none !important;
}
</style>
DEMO - Karina's Hostel - São Paulo, Brazil - Best Price Guarantee - Google Chrome
Remove the strike-through rate after applying promo code

Add the following code to the Custom Meta Tag section:

<style>
.av-roomrate .av-rate-price .old-price {
display: none;
}
</style>
Click to copy
cpAFW3NoCyEenQ_LSbYHlfOcEp1SLRMHyGPyqs58_GaOrFwdAkCYka0dDbYHSJmDX5Qr7Z1hAfUDheP1qZaTgRCuvmdnn8jmCOTwU7o0JmLMRmDdXmljxuAIC0g0kT3uJDo7vsT0 (814×598) - Google Chrome
Remove the number of rooms left (Only x left) from all room types

Add the following code to the Custom Meta Tag section:

<style>
.av-left-rooms {
visibility: hidden !important;
display: none;
}
</style>
Click to copy
Remove the Have a Group Code field

Add the following code to the Custom Meta Tag section:

<style>
.show_group_code {
display: none;
}
</style>
Click to copy
[Demo] Mountain Resort & SPA - Kyiv, Ukraine - Best Price Guarantee - Google Chrome
Remove Minimum Stay column

Add the following code to the Custom Meta Tag section. This will remove the Minimum Stay text from all of the room types:

<style>
.av-max-stay {
display: none !important;
}
</style>
Click to copy
Remove currency switch
<style>
.last.dropdown {display:
none!important;
}
</style>
Click to copy
Remove language and currency switches
<style>
#lang_currency_switchers { display:
none;
</style>
Click to copy
Remove Availability Calendar
<style>
/* Remove Availability Calendar */

.show_avail_calendar {
visibility: hidden !important;
}
.availability_calendar_container {
display: none !important;
}
</style>
Remove property address and contacts
<style>
/* Remove Address */ 
.map_info {display:none;} 
</style>
Remove the Booking Engine map

See this article to hide your Booking Engine map with only one click: Cloudbeds Booking Engine - How to Hide or Replace the Booking Engine Map

<style>
/* Remove Map */ 
#map_canvas {display:none;} 
</style> 
Remove Check-in/Check-out policies
<style>
.checkin-checkout-terms-block{
display: none;
}
</style>
Remove Cancellation Policies
<style>
.checkin-checkout-terms-block, .property_info h5, .cancellation_policy {
display: none;
}
</style>
Remove the Property Information section

Insert the following code in the Custom Meta Tags field:

<style>
.portlet.property_info>.portlet-title {
   display: none;
}.portlet.property_info>.portlet-body {
   display: none;
}
</style>
Click to copy
Remove the Have a promo code? section

Insert the following meta code in the Custom Meta Tags field:

<style>
.show_promo_code{
display: none;
}
</style>
Click to copy
Remove extra person charge from Your Reservation section

Insert the following code in the Custom Meta Tags section:

The code below is recommended for properties with dorm beds only (no private rooms)

<style>
.reserve_total .row.total_adults, .reserve_total .row.total_child {
 display: none;
}
</style>
Remove Child and Extra Child row from the reservation summary

Insert the following code in the Custom Meta Tags section:

<style>
.row.total_child, .nb_kids {
 display: none;
}
</style>
Remove the Extra Adult row from the reservation summary

Insert the following code to Custom Meta Tags section:

<style>
.row.total_adults {
display: none;
}
</style>
Remove Children column on the reservation confirmation page

Insert the following code in the Custom Meta Tags (Confirmation Page Only) section:

<style>
.kids_column.book_child, .book_child {
display: none;
}
</style>
Remove Maximum number of nights from the Calendar

Add the following code in Custom Meta Tags section to remove the maximum number of nights allowed from the date picker drop-down:

<style>
.max_l_yes {
display: none !important;
}
</style>
Slack | Threads | Cloudbeds | 36 new items

Resize Add-Ons Photos

Increase the size of Add-Ons Photos

Add the following code to the Custom Meta Tag section:

@media screen and (min-width: 992px) {
.about .col-md-4 {
  min-width: auto;
  width: 40%;
}
.about .col-md-8 {
  width: 60%;
}
.about .img {
  width: 100%;
  height: auto;
  padding-top: 50%;
}
.room_services .img div {
  top: 0;
  position: absolute;
}
Click to copy
Customize mybookings - HTML and CSS Custom Meta Tags – myfrontdesk - Google Chrome
Customize mybookings - HTML and CSS Custom Meta Tags – myfrontdesk - Google Chrome

What to do if my customization code is not working?

If the desired customization code is not working as expected, try the following troubleshooting steps:

  • Confirm that the code has been correctly copied and pasted, without typos or unnecessary/extra spaces.
  • Paste the code in the correct field, in the Customize the Booking Engine section (For example: Some codes should be placed in the Custom header section, and some other codes need to be pasted in the Custom footer section)
  • Save your changes after the customization codes are added to the correct fields, and reload/open the Booking Engine on your browser to see the effect
  • The List Design View is no longer supported in Cloudbeds PMS. Find more details here.

Reach out to our Support Team if none of the solutions above fix the issue.

Powered by Zendesk