Features
CTA Button
Open Avenue form with a button click
Open Form with CTA Button
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.
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>