Open the Form from Your Own Button
Make any button on your site, such as Book Now or Get a Quote, open the Avenue booking form.
You can trigger the Avenue form to open when a user clicks any button or element on your page. This is useful for "Book Now" or "Get a Quote" call-to-action buttons.
This is for buttons on your own website. For a Book Online button on your Google listing, see how to get bookings from Google with the Book Online button.
Prerequisites
Before you begin, make sure you have:
- The Avenue embed script already added to your website header. See setup guides for WordPress or Wix.
How It Works
Any element with the class name open-avenue will open the Avenue form when clicked. You just need to add this class to your button or link.
Example: Elementor (WordPress)
If you're using Elementor to build your WordPress pages, follow these steps.
Step 1: Edit Your Page
- Open the page you want to edit in Elementor
- Select the button or element you want to use as a trigger
Step 2: Add the Class
- With the element selected, go to the Advanced tab in the left panel
- Scroll down to CSS Classes
- Enter
open-avenuein the field - Click Update to save your changes
Step 3: Test
- View your page
- Click the button
- The Avenue form should open
Other Page Builders
The same principle applies to any page builder or custom HTML. Add the class open-avenue to any clickable element.
HTML Example
<button class="open-avenue">Book Now</button>or
<a href="#" class="open-avenue">Get a Quote</a>Multiple Classes
If your element already has classes, just add open-avenue to the list:
<button class="btn btn-primary open-avenue">Book Now</button>Add a Book Online Button to Your Site
Install the Avenue script and a Book Online button appears in the corner of your site, with Call Us, Text Me and Get a Quote buttons.
Embed the Booking Form in a Page
Show the Avenue booking form inside a page, such as a booking or contact section, instead of as a floating button.