EDUCATIONAL STUFF
  • Home
  • Web Applications
    • invoice Generator
    • Nps Return Calculator
    • Emi Calculator
    • Body Mass Index Calculator
    • Eid Card Maker with Self Name
    • Biodata Generator
  • Web Tools
    • Pdf File to Text
    • Url Shortner
  • Softwares
    • School Softwares
    • Digital Products
    • Urdu Softwares
  • Web Developing
    • Html/Css/Javascript
    • Blogger
What's Hot

NPS/GPS/OPS COMPARISION CALCULATOR

20/04/2025

How to use Jameel Noori Nastaleeq Font on websites?

07/02/2025

MAHARASHTRA SSC RESULTS 2023

20/05/2023
Quiz
Facebook Twitter Instagram
  • Home
  • Shipping and Delivery
  • PRICING
  • Terms & Conditions
  • Return & Refund Policy
  • Contact Us
Facebook Twitter Instagram Pinterest Vimeo
EDUCATIONAL STUFFEDUCATIONAL STUFF
  • Home
  • Web Applications
    • invoice Generator
    • Nps Return Calculator
    • Emi Calculator
    • Body Mass Index Calculator
    • Eid Card Maker with Self Name
    • Biodata Generator
  • Web Tools
    • Pdf File to Text
    • Url Shortner
  • Softwares
    1. School Softwares
    2. Digital Products
    3. Urdu Softwares
    Featured
    Recent

    NPS/GPS/OPS COMPARISION CALCULATOR

    20/04/2025

    How to use Jameel Noori Nastaleeq Font on websites?

    07/02/2025

    MAHARASHTRA SSC RESULTS 2023

    20/05/2023
  • Web Developing
    1. Html/Css/Javascript
    2. Blogger
    Featured

    How to use Jameel Noori Nastaleeq Font on websites?

    EDUCATIONAL STUFF07/02/2025
    Recent

    How to use Jameel Noori Nastaleeq Font on websites?

    07/02/2025

    Adding Scroll-to-Top Button on website

    03/06/2021

    Adding Whatsapp chat floating button on website

    02/05/2021
Subscribe
EDUCATIONAL STUFF
Home » Adding Whatsapp chat floating button on website
Html/Css/Javascript

Adding Whatsapp chat floating button on website

EDUCATIONAL STUFFBy EDUCATIONAL STUFF02/05/2021Updated:06/05/20232 Comments5 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Adding Whatsapp chat floating button on website
Share
Facebook Twitter LinkedIn Pinterest Email

Table Of Contents

  • 1 Introduction:
  • 2 How it works?
  • 3 Whatsapp chat floating button On blogger.
  • 4 Whatsapp chat floating button On WordPress.
  • 5 What is you need to change?
  • 6 Whatsapp chat floating button  code is here:

Introduction:

Here is a WhatsApp chat floating button on your website simple in HTML code with starting a interactive chatting box with your profile picture. You don’t need to any JavaScript or additional CSS file. Because this is only one HTML code.just copy it and paste where you want to show WhatsApp floating chatting icon to your website.you can use this code for your blogger website or your wordpress website also.

How it works?

Whatsapp chat floating button On blogger.

Just copy the code that given below and go to the blogger layout.Just go in the footer section , insert the gadget and take the HTML gadget from the gadgets list and paste this code wherein.

Adding Whatsapp chat floating button on website

Whatsapp chat floating button On WordPress.

Just go to your wordpress dashboard and go to the appearance section and then widget section.Where you can see layout of your website.Go to the footer section, take the Custome HTML widget from the widgets list and paste this code there.You can take this Custome Html widget in sidebar area also.

Adding Whatsapp chat floating button on website

What is you need to change?

Just copy following code and paste according to method given above. But before copying this code you should change some code that highlighted in blue color of this code. Where you should change mobile number of your own instead of default mobile number and the URL of your profile image for starting chatting box. If you have url of image of your own paste your image URL in this code instead of the default URL of image.if you don’t have your profile pictures URL, just create URL for your profile picture.Upload your image to this website Postimage and copy the direct link of your image from there.This is the URL of your image.Just copy that URL and paste in this code by removing the highlighted default URL of image.

Whatsapp chat floating button  code is here:

<!DOCTYPE html><style>
body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
background-color:transparent;
color: white;
padding: 5px 5px;
border:none;
cursor: pointer;
opacity: 0.9;
position: fixed;
bottom:80px;
right:2px;}/* The popup chat - hidden by default */
.chat-popup {
display: none;
position: fixed;
bottom:90px;
right: 15px;
border: 5px solid blue;
z-index: 9;
}
/* Add styles to the form container */
.form-container {
max-width: 300px;
padding: 10px;
background-color: white;
}
/* Full-width textarea */
.form-container textarea {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;
resize: none;
min-height: 200px;
}
/* When the textarea gets focus, do something */
.form-container textarea:focus {
background-color: #ddd;
outline: none;
}
/* Set a style for the submit/send button */
.form-container .btn {
background-color: #4CAF50;
color: white;
padding: 16px 20px;
border: none;
cursor:pointer;
width: 100%;
margin-bottom:10px;
opacity: 0.8;
}
/* Add a red background color to the cancel button */
.form-container .cancel {
background-color: red;
}
/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
opacity: 1;
}
</style>
<figure>
<button class="open-button" onclick="openForm()"><img alt="" src="https://i.postimg.cc/ZKR7MV0g/79dc31280371b8ffbe56ec656418e122.png" style="height: 100px; width:100px;" title="" /><figcaption style="color:black;">Chat me.</figcaption> </button></figure><div class="chat-popup" id="myForm">
<form action="/action_page.php" class="form-container">
<figure>
<!--Change your profile picture by replacing below  url that highlited with blue color -->
<!--Change your Name by replacing default name qadeer khan highlited with blue color -->
<img src="https://i.postimg.cc/kMyp1dHc/photoABC.jpg" style="width:80px;height:80px;" />
<figcaption>QADEER KHAN</figcaption>
</figure><h2><b>How can I help you?</b></h2>
<br />
<label for="msg"><b></b></label>
<!-- Change your Whatsapp no. by replacing mobile number highlited with blue color -->
<button type="button" class="btn" onclick="document.location='https://api.whatsapp.com/send?phone=+917972611095'">Chat me.</button><button type="button" class="btn cancel" onclick="closeForm()">Close</button>
</form>
</div><script>
function openForm() {
document.getElementById("myForm").style.display = "block";
}function closeForm() {
document.getElementById("myForm").style.display = "none";
}
</script></html>

Your WhatsApp floating chat icon button looks like this.

Adding Whatsapp chat floating button on website

 

And the starting chatting Box with profile picture looks like this.

 

Adding Whatsapp chat floating button on website

 

If you want to know how to embed PDF file on blogger just click here.

If you want to download whatsapp chat html code You can copy that code from below….



<style> body {font-family: Arial, Helvetica, sans-serif;} * {box-sizing: border-box;}/* Button used to open the chat form - fixed at the bottom of the page */ .open-button { background-color:transparent; color: white; padding: 5px 5px; border:none; cursor: pointer; opacity: 0.9; position: fixed; bottom:80px; right:2px;}/* The popup chat - hidden by default */ .chat-popup { display: none; position: fixed; bottom:90px; right: 15px; border: 5px solid blue; z-index: 9; } /* Add styles to the form container */ .form-container { max-width: 300px; padding: 10px; background-color: white; } /* Full-width textarea */ .form-container textarea { width: 100%; padding: 15px; margin: 5px 0 22px 0; border: none; background: #f1f1f1; resize: none; min-height: 200px; } /* When the textarea gets focus, do something */ .form-container textarea:focus { background-color: #ddd; outline: none; } /* Set a style for the submit/send button */ .form-container .btn { background-color: #4CAF50; color: white; padding: 16px 20px; border: none; cursor:pointer; width: 100%; margin-bottom:10px; opacity: 0.8; } /* Add a red background color to the cancel button */ .form-container .cancel { background-color: red; } /* Add some hover effects to buttons */ .form-container .btn:hover, .open-button:hover { opacity: 1; } </style> <figure> <button class="open-button" onclick="openForm()"><img alt="" src="https://i.postimg.cc/ZKR7MV0g/79dc31280371b8ffbe56ec656418e122.png" style="height: 100px; width:100px;" title="" /><figcaption style="color:black;">Chat me.</figcaption> </button></figure><div class="chat-popup" id="myForm"> <form action="/action_page.php" class="form-container"> <figure> <!--Change your profile picture by replacing below url that highlited with blue color --> <!--Change your Name by replacing default name qadeer khan highlited with blue color --> <img src="https://i.postimg.cc/kMyp1dHc/photoABC.jpg" style="width:80px;height:80px;" /> <figcaption>QADEER KHAN</figcaption> </figure><h2><b>How can I help you?</b></h2> <br /> <label for="msg"><b></b></label> <!-- Change your Whatsapp no. by replacing mobile number highlited with blue color --> <button type="button" class="btn" onclick="document.location='https://api.whatsapp.com/send?phone=+917972611095'">Chat me.</button><button type="button" class="btn cancel" onclick="closeForm()">Close</button> </form> </div><script> function openForm() { document.getElementById("myForm").style.display = "block"; }function closeForm() { document.getElementById("myForm").style.display = "none"; } </script>



Post Views: 49,644
Html/Css/Javascripts
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleGenerate Students Report Cards
Next Article Adding Scroll-to-Top Button on website
EDUCATIONAL STUFF
  • Website

Related Posts

Blogger

How to use Jameel Noori Nastaleeq Font on websites?

07/02/2025
Html/Css/Javascript

Adding Scroll-to-Top Button on website

03/06/2021
Blogger

JAMEEL NOORI FONT IN BLOGGER

06/04/2021
View 2 Comments

Leave A Reply Cancel Reply

You must be logged in to post a comment.

OUR EDUCATIONAL SOFTWEARS
  • SCHOOL BONAFIDE GENERATOR(ENGLISH)
  • SCHOOL BONAFIDE GENERATOR(MARATHI)
  • ACHIEVEMENT CERTIFICATE GENERATOR
  • MDM DAILY GRAINS CALCULATOR
  • Online Printable Admission Form Generator
  • PDF TO TEXT CONVERTER
  • Automatic Leaving Certificate Generator
  • HRA Exemption Calculator For Income Tax
  • JULY INCREMENT GROSS SALARY CALCULATOR
CATEGORIES
  • Articles (4)
    • Government Campaign (2)
  • Digital Products (1)
  • Downloads (3)
  • Exam Papers (3)
  • Finance (1)
  • Html/Css/Javascript (4)
  • Islamic Quiz (1)
  • Results (4)
  • School Softwares (6)
  • Softwares & Apps (8)
  • Uncategorized (1)
  • Urdu Softwares (3)
  • Web Developing (6)
    • Blogger (3)
Popular Posts
  • URDU MEDIUM PRACTICE EXAM PAPERS FOR STANDARD 10TH posted on March 14, 2021
  • QUICK BONAFIDE CERTIFICATE GENERATOR QUICK BONAFIDE CERTIFICATE GENERATOR posted on November 9, 2022
  • Unicode Inpage Converter Software Free Download Unicode Inpage Converter Software Free Download posted on April 12, 2021
  • AUTOMATIC SCHOOL RESULT SHEET posted on April 8, 2021
  • 5th8th Scholarship Papers Syllabus Exam papers and Syllabus For Scholarship 5th and 8th posted on March 21, 2021
Total Visitors
218500
Users Today : 68
Total Users : 218500
Views Today : 236
Total views : 649067
Who's Online : 1
Don't Miss

NPS/GPS/OPS COMPARISION CALCULATOR

EDUCATIONAL STUFF20/04/2025

Post Views: 2

How to use Jameel Noori Nastaleeq Font on websites?

07/02/2025

MAHARASHTRA SSC RESULTS 2023

20/05/2023

MAHARASHTRA HSC RESULTS 2023

17/05/2023
Contact Form!





Stay In Touch
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • Vimeo
About Us
About Us

Educational Stuff is a portal for Students,Teachers and Social workers who want to develope technology in Education.We are not a only name but a team for working continuously in Educational Field.If you want to become our member kindly contact.

We're accepting new partnerships right now.

Email Us: educationalways123@gmail.com
Contact: +91 8308551100

Downloads

SSC QUESTION BANK URDU MEDIUM

25/02/2022

Exam papers and Syllabus For Scholarship 5th and 8th

21/03/2021

URDU MEDIUM PRACTICE EXAM PAPERS FOR STANDARD 10TH

14/03/2021
Latest Posts

NPS/GPS/OPS COMPARISION CALCULATOR

20/04/2025

How to use Jameel Noori Nastaleeq Font on websites?

07/02/2025

MAHARASHTRA SSC RESULTS 2023

20/05/2023

MAHARASHTRA HSC RESULTS 2023

17/05/2023

CBSC 10TH CLASS RESULTS 2023

12/05/2023
Whats Hot!
  • Home
  • Web Applications
    • invoice Generator
    • Nps Return Calculator
    • Emi Calculator
    • Body Mass Index Calculator
    • Eid Card Maker with Self Name
    • Biodata Generator
  • Web Tools
    • Pdf File to Text
    • Url Shortner
  • Softwares
    • School Softwares
    • Digital Products
    • Urdu Softwares
  • Web Developing
    • Html/Css/Javascript
    • Blogger
Facebook Twitter Instagram Pinterest
  • Home
  • Shipping and Delivery
  • PRICING
  • Terms & Conditions
  • Return & Refund Policy
  • Contact Us
© 2025 ThemeSphere. Designed by ThemeSphere.

Type above and press Enter to search. Press Esc to cancel.