In today's tutorial, we are going to show you how to create a stylish contact page for Blogger in less than no time and without any special coding skills.
Blogger by default has a contact widget which can be added to any widget section for your visitors to get in touch. But may people will rather have a contact page where this widget will appear. Unfortunately, there is no such option to insert widget directly inside a page. But there is a way to create a customise HTML widget code and add into a page in order to create a beautify and stylish contact page.
In today's tutorial, we are going to show you how to create a stylish contact page for Blogger in less than no time and without any special coding skills.
In today's tutorial, we are going to show you how to create a stylish contact page for Blogger in less than no time and without any special coding skills.
Why use a contact page with a contact form on your site?
- A contact form allows your prospective client to stay on your site. Just posting an email address requires the visitor to open up their email client, copy/paste or type your email address, and then write their message there. They’ve gone off your site and into their inbox, which is setting them up to get distracted and possibly even fail to get in touch at all.
- It reduces spam. Putting an email address out on the internet is basically begging for more spam. Protecting your email address makes it harder for spammers to find you, which reduces your email burden and saves you time. It’s easy to share your email address with your new contact once they’ve filled out your form, and you’ve bypassed a bit of gunk in your spam filters in the meantime.
- It allows you to vet new prospects. A contact form allows you to request, or even require, specific pieces of information before the form is sent. This sets up filters that are working for you before the new inquiry even comes to you. Ask about what type of work the prospect is interested in when the best time to reach them is, and what their phone number is.
- It’s easier for the user. Contact forms can often sync up with the visitor’s browser autofill features, making it even easier and faster to fill out. It’s simple, it’s straightforward, and it’s less clunky than shifting to an email client and then coming back to your site. And in my experience, I’ve found that many web users prefer a contact form rather than sending an email to an email address.
Features of this contact page widget
- Designed with Pure CSS.
- Fully Responsive.
- Full-Width Layout - No header, no sidebar and no footer.
- Font Awesome Icons Integrated.
- Sliding Texts.
- Professional And Stylish Looking.
- Facility to upload an avatar.
- Able to change the background image.
- Notifies if the message was sent or not.
Adding a stylish contact page to your Blogger blog
- First of all, sign in to your Blogger dashboard and select the blog in question.
- Next, head to the "layout" section and add a new Contact form gadget. You can add this at the end of the sidebar or footer section.
- After adding the contact form gadget, head to "Theme >> Edit HTML" and then search for the following line of code
- Next, you will need to hide the default contact widget you just added. Copy and paste the following code just before the line of code provided above.
div#ContactForm1 { display: none !important; }
- Save your template.
- And the next thing you will want to do is create the contact page. Head to the "Page" tab and click on "New". Name the page "Contact Us" or "Get in touch" it all depends on you. In case you already had one, simply edit it.
<style> .twist_blogger_cntct_form_wrap { margin: 0 auto; max-width: 98%; padding: 0 10px; position: relative; background-color: #FDFDFD; border-radius:15px; } .twist_blogger_cntct_form_wrap:after, .twist_blogger_cntct_form_wrap:before { content: ''; display: table; clear: both; } /*----Change Contact Form Background Color Here----*/ div#twist_blogger_cntct_form { padding: 20px 20px 10px 20px; background: #FA540B; border-radius: 2px; margin: 20px auto 20px; color: #FFF; font-size: 16px; max-width: 98%; } input#ContactForm1_contact-form-name, .contact-form-email, .contact-form-email:hover, .contact-form-email:active, .contact-form-email-message, .contact-form-email-message:active, .contact-form-email-message:hover { padding: 5px; box-shadow: none!Important; min-width: 186px; max-width: 98%; width: 100%; border: 0 !important; line-height: 1em; min-height: 31px; background: #FCFCFC; margin-bottom: 15px; } /**** Submit button style ****/ .contact-form-button-submit { background: #FA540B; font-size: 20px; letter-spacing: 2px; cursor: pointer; outline: none!important; color: #FFFFFF; border: 2px solid rgba(255, 255, 255, 1); border-radius: 50px; min-width: 186px; max-width: 98%; width: 100%; text-transform: uppercase; height: 46px; margin-top: 10px!important; transition: all 300ms ease-; -webkit-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; } /**** Submit button on mouse hover ****/ .contact-form-button-submit:hover { border: 2px solid; color: #FFFFFF; background: #EF4800 !important; } /**** Submit button on Focus ****/ .contact-form-button-submit:focus, .contact-form-button-submit.focus { border-color: #FFFFFF; box-shadow: none !important; } /**** Error message and Success Message ****/ .contact-form-error-message-with-border .contact-form-success-message { background: #f9edbe; border: 1px solid #f0c36d; bottom: 0; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); color: #666; font-size: 12px; font-weight: bold; padding-bottom: 10px; line-height: 19px; margin-left: 0; opacity: 1; position: static; text-align: center; } </style> <br /> <br /> <div class="twist_blogger_cntct_form_wrap"> <div id="twist_blogger_cntct_form"> <form name="contact-form"> Your Name <br /> <input class="contact-form-name" id="ContactForm1_contact-form-name" name="name" placeholder="Enter your name here..." size="30" type="text" value="" /> <br /> <br /> Your Email* <br /> <input class="contact-form-email" id="ContactForm1_contact-form-email" name="email" placeholder="Enter your email here..." size="30" type="text" value="" /> <br /> <br /> Your Message* <br /> <textarea class="contact-form-email-message" cols="25" id="ContactForm1_contact-form-email-message" name="email-message" placeholder="Write your message here..." rows="5"></textarea> <br /> <input class="contact-form-button contact-form-button-submit" id="ContactForm1_contact-form-submit" type="button" value="Send" /> <br /> <div style="max-width: 98%; text-align: center; width: 100%;"> <div class="contact-form-error-message" id="ContactForm1_contact-form-error-message"> </div> <div class="contact-form-success-message" id="ContactForm1_contact-form-success-message"> </div> </div> </form>
- Now, if you have some texts to enter before the contact widget, write it down. Then switch to the "HTML" part, copy the code from below and paste it there. Update or publish contact page and there you go.
You can then customise the colours the way you like. The contact page we use here can serve as a demo.
COMMENTS