10 August 2017

How to add contact form to blogger blog

You want to add contact form to your blogger blog, right? It is very easy. Firstly, what is contact form used for? Contact form is used by the administrator of a blog/website to gather feedback from visitors about posts and the blog/website. It is also used by visitors to ask question(s) and to enquire information about a tutorial or product on the blog/website or about a service rendered by the administrator.

Add Contact Form to your Blogger blog
1. Login to your blogger account.
2. Click on layout.
3. Click on "Add Gadget" and choose contact us form.
4. Save it.

Add style to your blogger blog
&nbsp On your blogger dashboard, click on theme >> click on Edit HTML >> press Ctrl F and search for ]]>
on the search box that appear at the bottom left side of the page >> Paste the below code before ]]>

/* Contact Form Container www.netipsite.blogspot.com */
.contact-form-widget {
width: 500px;
max-width: 100%;
margin: 0 auto;
padding: 10px;
background: #F8F8F8;
color: #000;
border: 1px solid #C1C1C1;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
border-radius: 10px;
}
/* Fields and submit button */
.contact-form-name, .contact-form-email, .contact-form-email-message {
width: 100%;
max-width: 100%;
margin-bottom: 10px;
}
/* Submit button style */
.contact-form-button-submit {
border-color: #C1C1C1;
background: #E3E3E3;
color: #585858;
width: 20%;
max-width: 20%;
margin-bottom: 10px;
}
/* Submit button on mouseover www.netipsite.blogspot.com */
.contact-form-button-submit:hover{
background: #4C8EF9;
color: #ffffff;
border: 1px solid #FAFAFA;
}
Save your theme.
Add Contact Form to static page
1. Click on theme on your blogger dashboard.
2. Click on Edit HTML.
3. Press Ctrl F and search for id="ContactForm" in the search box that appears at the bottom left side of the page. You will see a code like this:
<b:widget id="ContactForm1" locked="false" title="Contact Form" type="ContactForm"><br /> <b:includable id="main"></b:includable></b:widget>
<b:if cond="data:title != &quot;&amp; quot;"><br /> </b:if>







*




*














4. Remove the code I typed in blue from your theme HTML code.
5. Save your theme.
Now create a new page
To do this:
1. Click on "pages" on the side bar on your blogger dashboard.
2. Click on "New Page" and create your page.
You can just name the page "Contact Form" (Remove the quotation mark). You can also use your "Contact Us" page for this.
3. Click on 'HTML' beside 'Compose' and then copy and paste the code below onto the page:

Name




E-mail *


Message *



Publish your page.


&nbsp Congratulation, you have just added contact form to your blogger blog.

To add the page to your menu bar:
1. Click on 'Layout' on your blogger dashboard.
2. Click on the last "Add Gadget" on the page.
3. Click on "Pages".
4. Choose the page you created and then save.
&nbsp As I have said earlier, any message sent on your contact form will be delivered to the email you used to create you blog.
&nbsp Thank you for reading and make sure your share with your friends. Thank you.

No comments: