How To Create a Contact Page Using The Official Blogger Contact Form - Welcome To PgeJoint

Welcome To PgeJoint

Get Everything Here

Friday 9 June 2017

How To Create a Contact Page Using The Official Blogger Contact Form


On May 16 2013, Blogger introduced its new official contact form gadget (widget). However, contact form on the sidebar is very unusual, because many professional blogs put their contact form on a specific page, but with a little more effort you can actually create a contact page for your Blogger blog using the official contact form gadget and the most important is you can styling the contact form using your own CSS. Please follow these detailed steps below:

Step 1:

Click Layout > Add a Gadget, a pop-up window will open

Blogger Layout

Step 2:
On the pop-up window click More Gadget > Click Contact Form > Click Save

More Gadget

Step 3:
Now create a blank page. Click Pages > New Page > Blank page

Add a new Blank Page

Step 4:
Enter title Contact Us > Click HTML > Copy & Paste the HTML contact form code below > Don't allow reader comments > Click Done > Click Publish

Copy Paste the Contact Form HTML code

<form name="contact-form">
<p></p>
Name
<br>
<input class="contact-form-name" id="ContactForm1_contact-form-name" name="name" size="30" value="" type="text">
<p></p>
Email
<span style="font-weight: bolder;">*</span>
<br>
<input class="contact-form-email" id="ContactForm1_contact-form-email" name="email" size="30" value="" type="text">
<p></p>
Message
<span style="font-weight: bolder;">*</span>
<br>
<textarea class="contact-form-email-message" cols="25" id="ContactForm1_contact-form-email-message" name="email-message" rows="5"></textarea>
<p></p>
<input class="contact-form-button contact-form-button-submit" id="ContactForm1_contact-form-submit" value="Send" type="button">
<p></p>
<div style="text-align: center; max-width: 222px; width: 100%">
<p class="contact-form-error-message" id="ContactForm1_contact-form-error-message"></p>
<p class="contact-form-success-message" id="ContactForm1_contact-form-success-message"></p>
</div>
</form>

*When you copy and paste HTML code above you might get this line automatically

Step 5:
Now Click Template > Edit HTML

Blogger Template Edit HTML

Step 6:
Click Jump to widget > Select ContactForm1

Blogger Template Edit HTML - Jump to ContactForm1

Step 7:
Click the small black arrow to expand ContactForm1 code

Blogger Template Edit HTML - Click the arrow to Expand ContactForm1
Step 8:
Click small black arrow again to expand codes between <b:includable id='main'> and </b:includable>

Blogger Template Edit HTML - Click the arrow to Expand ContactForm1

Step 9:
Delete the highlighted codes (all things between <b:includable id='main'> and </b:includable>)
 
Blogger Template Edit HTML - Delete ContactForm1 Widget Code

After deleting, the ContactForm1 widget code will look like this:

Blogger Template Edit HTML - ContactForm1 Gadget Code deleted
Step 10:
Add this CSS code above ]]></b:skin> and then click Save Template. You can use this CSS to styling the contact form.

.contact-form-name, .contact-form-email {
max-width: 200px;
width: 100%;
}
.contact-form-email-message {
max-width: 400px;
width: 100%;
height: 150px;
}

*When you copy and paste CSS code above you might get this line automatically
Please delete that line :)

Blogger Template Edit HTML

Now your blog has a contact page  Please make sure you don't remove the Contact Form gadget from your layout. All messages will be sent to your Gmail email associated with the Blogger account, but you can use Gmail's filter to automatically forward all messages to another email address. If you found this article helpful, then please share it with someone else by using the buttons below. Thank you

No comments:

Post a Comment