Travel
Import the Travel design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Travel and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Content types this design adds
Hotels
canvas_travel_hotel
One item is called a Hotel. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, thumbnail, title
Each item carries these extra settings on its edit screen:
Hotel Amenities
Hotel Gallery
Location
Hotel Map Url
Per Night
Reviews
Hotel Stars
Packages
canvas_travel_pkg
One item is called a Package. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, thumbnail, title
- Grouped by: Destinations (
canvas_travel_dest)
Each item carries these extra settings on its edit screen:
Deal
Pkg Note
Price
Pkg Thumb
Blocks this design adds
Travel Hotels
canvas-core/travel-hotels
Hotel search-result rows with rating, amenities, nightly rate and real pagination. In the block inserter it is named Travel Hotels.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultHotel Rows
Which part of the hotels design this block draws. Hotel Rows lists them all; each "Single Hotel" choice renders one section of the hotel page you place it on.
ChoicesHotel RowsSingle Hotel - Other HotelsSingle Hotel - Fact StripSingle Hotel - Booking ButtonSingle Hotel - Amenity Icons
Query
Hotels per PageDefault
40 shows every hotel on one page.
Order ByDefaultMenu Order
What decides the sequence of the hotels. Menu Order lets you arrange them by hand on the hotels list screen.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
PaginationDefaultOn
Emit the page-link strip below the rows.
Display
Rows Container ClassesDefault
row gutter-40 mb-0Class names on the row holding each hotel, setting the space between the three columns.
Media Column ClassesDefault
col-lg-4Class names on the picture column, which is what sets how much of the row the photograph takes.
Detail Column ClassesDefault
col-lg col-md-8 mt-4 mt-lg-0Class names on the middle column holding the hotel name and description.
Price Column ClassesDefault
col-lg-auto col-md-4 mt-4 mt-lg-0 text-start text-md-centerClass names on the price and button column at the end of the row.
Price CaptionDefault
Price per night*Small line printed under each price, saying what the figure covers.
Button TextDefault
Book NowWording on the button in each hotel row.
Button ClassesDefault
button button-rounded mt-4 mx-0Class names that set the look of that button.
Single
Single CTA LabelDefault
Book this HotelWording on the booking button of a single hotel page. Leave empty for no button.
Single CTA Page SlugDefault
contactPage the single-view booking button links to.
Travel Packages
canvas-core/travel-packages
Holiday package entries: small price-list rows or a thumbnail-paged deals slider. In the block inserter it is named Travel Packages.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultPackage List
Which part of the packages design this block draws. The first two list several packages; each "Single Package" choice renders one section of the package page you place it on.
ChoicesPackage ListDeals SliderSingle Package - Fact StripSingle Package - Enquiry ButtonSingle Package - Other Packages
Query
Package IDsDefaultEmpty
Comma-separated package ids shown in this order. Leave empty to query.
Destination SlugDefaultEmpty
Show only packages for one destination. Leave empty for every package.
PackagesDefault
00 shows every package.
Order ByDefaultMenu Order
What decides the sequence of the packages. Menu Order lets you arrange them by hand on the packages list screen.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Which end of that sequence comes first.
ChoicesAscendingDescending
Display
List ClassesDefault
posts-sm row col-mb-30Class names on the list holding the package entries, setting their size and the space between them.
Entry Column ClassesDefault
col-sm-6 col-md-12Bootstrap column classes on each list entry.
Image ClassesDefaultEmpty
Extra classes on each entry thumbnail (e.g. rounded-circle).
Price StyleDefaultTheme-colour Span
Whether each price stands out by colour or by weight.
ChoicesTheme-colour SpanBold
Deals Slider
Slider ClassesDefault
fslider flex-thumb-grid grid-6 travel-sliderClass names on the deals slider. They carry the slider itself and the grid its thumbnails sit in, so keep them unless you are replacing the whole design.
Slide AnimationDefaultFade
Whether one deal dissolves into the next or slides across.
ChoicesFadeSlide
ArrowsDefaultOn
Show previous and next arrows over the slider.
Thumbnail PagerDefaultOn
Show a strip of small pictures under the slider that jump straight to a deal.
Overlay Content ClassesDefault
text-overlay-mask dark desc-sm align-items-end justify-content-startClass names on the caption laid over each slide, setting its wash, its text colour and where it sits on the picture.
Single
Single CTA LabelDefault
Enquire about this PackageWording on the enquiry button of a single package page. Leave empty for no button.
Single CTA Page SlugDefault
contactPage the single-view enquiry button links to.


