u
This commit is contained in:
57
_footer.php
57
_footer.php
@@ -120,29 +120,42 @@
|
||||
<a href="#" class="back-to-top"><i class="fe fe-lg fe-arrow-up"></i></a>
|
||||
<div>
|
||||
<!-------------------------- whatApps Widget Start-------------------->
|
||||
<script>
|
||||
var options = {
|
||||
brandSetting: {
|
||||
brandImg: "/assets/img/whatsappimg.webp",
|
||||
welcomeText: `Hi there!
|
||||
How can I help you?`,
|
||||
messageText: `I need more information about Montessori Teachers training`,
|
||||
phoneNumber: "919748356431",
|
||||
},
|
||||
chatButtonSetting: {
|
||||
backgroundColor: "#24d366",
|
||||
ctaText: 'Chat with us',
|
||||
marginLeft: "0",
|
||||
marginRight: "30",
|
||||
marginBottom: "150",
|
||||
position: "right",
|
||||
},
|
||||
enabled: true,
|
||||
isNewChatWidget: true
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" onload="CreateWhatsappChatWidget(options)" src="https://msg91.com/js/waWidget.js"></script>
|
||||
<style>
|
||||
.wa-widget {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
background-color: #25D366;
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
padding: 12px 18px;
|
||||
font-size: 16px;
|
||||
font-family: Arial, sans-serif;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.wa-widget:hover {
|
||||
background-color: #1ebe5d;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="wa-widget" onclick="openWhatsApp()">
|
||||
<img src="/assets/img/whatsappimg.webp" width="25px"/> Chat on WhatsApp
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function openWhatsApp() {
|
||||
var phone = "919748386431"; // Replace with your number
|
||||
var message = encodeURIComponent("I need more information about Montessori Teachers training"); // Your keyword
|
||||
var url = "https://wa.me/" + phone + "?text=" + message;
|
||||
window.open(url, "_blank");
|
||||
}
|
||||
</script>
|
||||
<!-------------------------- whatApps Widget End-------------------->
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
|
||||
Reference in New Issue
Block a user