Skip to main content

Theme variables & custom CSS

Use Booking Engine → Styling textareas—or your theme stylesheet—for cosmetic tweaks.


Theme variables textarea

Paste reusable Custom Properties (--token: value;). Because both presets consume shared hooks, defining colours once keeps Enhanced search bars and booking summaries aligned.


Search bar hooks

Prefixes:

  • .bec-search-form-wrap, .bec-search-form-wrap--enhanced
  • .bec-search-form, .bec-search-form--enhanced

Representative descendants:

  • .bec-search-form__bar
  • .bec-search-form__control
  • .bec-search-form__button
  • .bec-search-form__error
  • .bec-search-form__child-ages

Inspect assets/styling/search-form-enhanced.css / search-form-classic.css in the plugin for exhaustive selectors.

Inspect search form CSS hooks


Booking summary hooks

Root:

  • .bec-booking-summary
  • .bec-booking-summary--preset-compact

Representative regions (non-exhaustive):

  • .bec-booking-summary__search
  • .bec-booking-summary__desktop
  • .bec-booking-summary__head-price
  • .bec-booking-summary__breakdown
  • .bec-booking-summary__actions
  • .bec-booking-summary__mobile
  • .bec-booking-summary__drawer

Pair with data attributes such as data-bec-booking-summary, data-bec-bsummary-continue, data-bec-rate-id when writing advanced selectors.

Inspect booking summary CSS hooks


Checkout & quote hooks

  • .bec-shortcode-checkout
  • .bec-checkout-cta, .bec-checkout-form
  • .bec-shortcode-quote, .bec-shortcode-quote__rates, .bec-shortcode-quote__rate

Fallback hooks

  • .bec-fallback, .bec-fallback__link, .bec-fallback__inner

[bec_unit_info] renderer hooks

Amenities grid:

  • .bec-amenities, .bec-amenities__item, …

Bedroom arrangements:

  • .bec-bedrooms, .bec-bedrooms__grid, …

Tips

Scope rules under a parent wrapper your theme controls (e.g. .site-content .bec-booking-summary) to avoid unintentionally styling admin previews.