Sirvoy provides possibilities to change texts and translations on the admin pages for the booking engine, but in cases where there is no option you can modify some texts with CSS by targeting a specific element class.

Elements that have the class “sirvoy-flexible-text” can be modified from the custom CSS page under Settings -> Booking engine -> Manage booking engines -> Edit -> Custom CSS.

All elements that have the class “sirvoy-flexible-text” also have a:

1. Specific class “sft-trans-key-SPECIFIC-KEY”.
2. Language-specific class to pinpoint a text change for a specific language, for example: “sft-lang-en” (english).

An Example of How to Change the “Search” Button Title

The markup for the “Search” button title is:
(notice the two classes “sft-lang-en” and “sft-trans-key-shared-button-search”)

<span class="
   sirvoy-flexible-text 
   sft-lang-en 
   sft-trans-key-shared-button-search 
   sft-initialized" 
   data-translation-key="shared.button.search">
            
   <div class="sft-text">
      Search
   </div>

</span>

To change the “Search” button title for English and Swedish we can do the following:

.sft-trans-key-shared-button-search .sft-text { 
  display: none !important;
}

.sft-lang-en.sft-trans-key-shared-button-search::after { 
  content: "My button title";
}

.sft-lang-sv.sft-trans-key-shared-button-search::after { 
  content: "Min knapptitel";
}

English version:

Swedish version:

The above principles for changing texts apply to any other text changes you would like to make in the booking engine in elements with the class “sirvoy-flexible-text”.

Note: Any custom CSS will only affect the embedded version of the booking engine and the WordPress plugin. It will not affect the booking engine on the Sirvoy Website Builder or on the standalone page.