<form id="form-booking-inpage" method="post" action="#booking-request"…
- Usercode
<div class="form-date-search search-form"> <?php echo stt_elementorv2()->loadView('services/tour/single/item/form-book/date'); ?> <?php echo stt_elementorv2()->loadView('services/tour/single/item/form-book/guest'); ?> <?php echo stt_elementorv2()->loadView('services/tour/single/item/form-book/package'); ?> </div> <?php echo stt_elementorv2()->loadView('services/common/single/guest-name'); ?> </div> <?php echo stt_elementorv2()->loadView('services/tour/single/item/form-book/extra'); ?> <div class="total-price-book d-flex justify-content-between align-items-center"> </div> <div class="submit-group"> <a href="/"><button class="text-center btn-v2 btn-primary btn-book-ajax" type="submit" name="submit"><?php echo esc_html__('Book now', 'traveler') ?><i class="fa fa-spinner fa-spin d-none"></i></button></a> <input style="display:none;" type="submit" class="btn btn-default btn-send-message" data-id="<?php echo get_the_ID(); ?>" name="st_send_message" value="<?php echo __('Send message', 'traveler'); ?>"> </div> <div class="message-wrapper mt30"></div> <div class="message-wrapper-2"></div> </form>i have this form on my wordpress site i want to show modal window that opens on #contact-me by click on button Book Now
- Assistant
- User
just want to open link /#contact-me on click button
- Assistant
If you want the "Book now" button to simply open the
/#contact-mesection (usually a modal or anchor link) when clicked, you can modify the button to change its action from submitting the form to navigating to that link.Here’s how you can update your form's code:
Step 1: Modify the "Book Now" Button
Change your "Book now" button in the form to link to . Replace this code:
- User
can i add font-awesome brand to css only?
- Assistant