Blogger
Default contact form has gained special attention among Blog users. Almost all
Blogger is now using this default contact form. Thought the default thing is might
dull looking, however we can customize it by using CSS coding. There are many tricks
to place the Blogger default contact form in static pages. But if you wish to
use Blogger Default Customized Contact Form in your Blog footer section then it
attracts your communicator to communicate with you. However we will simply
customize the Blogger default contact form for our Blog footer. Just go through
the below steps-
Step 1 Go to Blogger Dashboard and Select Layout
Step 2 From Layout Click Add a gadget and from popup window select More Gadgets tab in left side.
Step 3 Now click Contact Form and Save it. Now the default contact form will be look like below.
After adding Blogger Default Contact Form now we will add simple CSS code for spice up it. Just go through the below steps-
Adding Default Contact Form
This time I will add Blogger default contact for thus I can modify it later by using CSS code.Step 1 Go to Blogger Dashboard and Select Layout
Step 2 From Layout Click Add a gadget and from popup window select More Gadgets tab in left side.
Step 3 Now click Contact Form and Save it. Now the default contact form will be look like below.
Customizing the Default Contact Form
After adding Blogger Default Contact Form now we will add simple CSS code for spice up it. Just go through the below steps-
- Log in to your Blogger account and Go to your Blogger Dashboard
- Now click on Template > Edit HTML> Proceed
- Locate the ]]></b:skin> by pressing Ctrl+F (Windows) or CMD+F (Mac)
- Paste the below code Before/above ]]></b:skin>
/* Contact Form by prio-soft */
#ContactForm1{
display:none;
}
#contact_wrap {
margin: auto;
width: 321px;
height: 380px;
padding: 25px;
border-radius: 1em;
border-top:1px solid #dbdbdb;
border-right:1px solid #b2b2b2;
border-left:1px solid #dbdbdb;
border-bottom:1px solid #9d9d9d;
background-color:#cccccc;
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc');
background-image:-webkit-linear-gradient(top, #f2f2f2 0%, #e6e6e6 50%, #cccccc 100%);
background-image:-moz-linear-gradient(top, #f2f2f2 0%, #e6e6e6 50%, #cccccc 100%);
background-image:-ms-linear-gradient(top, #f2f2f2 0%, #e6e6e6 50%, #cccccc 100%);
background-image:-o-linear-gradient(top, #f2f2f2 0%, #e6e6e6 50%, #cccccc 100%);
background-image:linear-gradient(top, #f2f2f2 0%, #e6e6e6 50%, #cccccc 100%);
box-shadow: 1px 1px 5px #ccc;
}
#contact_wrap h3{
color: #e8f3f9;
font-family:Georgia;
font-size: 20px;
font-style:italic;
font-weight:bold;
margin: 0 -36px 20px -36px;
padding: 12px;
text-align: center;
text-shadow: 2px 0 0 #1f4962;
-webkit-box-shadow: inset 0 0 25px rgba(0,0,0,0.3),0px 1px 5px #666;
-moz-box-shadow: inset 0 0 25px rgba(0,0,0,0.3),0px 1px 5px #666;
box-shadow: inset 0 0 25px rgba(0,0,0,0.3),0px 1px 5px #666;
background-color: #3689b9;
position: relative;
}
#contact_wrap h3:before {
content: ' ';
position: absolute;
bottom: -10px;
left: 0;
width: 0;
height: 0;
border-style: solid;
border-width: 10px 0 0 10px;
border-color: #333 transparent transparent transparent;
}
#contact_wrap h3:after {
content: ' ';
position: absolute;
bottom: -10px;
right: 0;
width: 0;
height: 0;
border-style: solid;
border-width: 0 0 10px 10px;
border-color: transparent transparent transparent #333;
}
#ContactForm1_contact-form-name{
width: 270px;
height:auto;
margin: 5px auto;
padding: 10px 10px 10px 40px;
background:#f6f6f6 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt8SicDDDFDv5dR04Uu8I2DqxrG7Oc8myMSZmVOwTYhp5YA4Qm6It2u0FBNCSOdMwxfvWFV4rntvkwzssqsHdEzvI8i-me0QWWPnduTe18ORdFW4jKc3vVZQ7Ut7aXojAAwxYB4hLQXm4/s1600/user.png)no-repeat 10px center;
color:#777;
border:1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
}
#ContactForm1_contact-form-email{
width: 270px;
height:auto;
margin: 5px auto;
padding: 10px 10px 10px 40px;
background: #f6f6f6 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRVrlqg46fYPIBSG7ap3w7ASO8LjWPJxetdsM2WmU9xF1i56mOnsgfuTwgEgzRK6QgU5s8csoDtrxzle65QsGeY0prgM9SnOeUFWt9vUFPxVjvKtelQuglTsJUy6sTdH8NCn-WgyKkxsI/s1600/pen.png)no-repeat 10px center;
color:#777;
border:1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
}
#ContactForm1_contact-form-email-message{
width: 270px;
height: 150px;
margin: 5px auto;
padding: 10px 10px 10px 40px;
font-family:Arial, sans-serif;
background: #f6f6f6 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA2MXZjxiluzwnve5zKkvNaoLl6Qn4FWV9zGlHKAX2rLYR-mOCxtX9f7zJcQ-UmFD1KjNS4Z9Ops4jjCFpV-Vpu2XRXNTtOs4xUPU8qtLMPm2bubHhqRR-Sq8cYQD3CylndLFzzXJZWrQ/s1600/msg2.png)no-repeat 10px 10px;
color:#777;
border:1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
box-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 3px inset, #f5f5f5 0px 1px 0px;
}
#ContactForm1_contact-form-submit {
width: 95px;
height: 30px;
float: right;
color: #FFF;
padding: 0;
cursor:pointer;
margin: 25px 0 3px 0 0;
background-color:#005a8a;
border-radius:4px;
text-shadow: 1px 0 0 #1f4962;
-webkit-box-shadow: inset 0 0 35px rgba(0,0,0,0.3),0px 1px 5px #666;
-moz-box-shadow: inset 0 0 35px rgba(0,0,0,0.3),0px 1px 5px #666;
box-shadow: inset 0 0 35px rgba(0,0,0,0.3),0px 1px 5px #666;
background-color: #3689b9;
border:1px solid #194f6d;
}
#ContactForm1_contact-form-submit:hover {
background:#4c9bc9;
}
#ContactForm1_contact-form-error-message, #ContactForm1_contact-form-success-message{
width: 320px;
margin-top:35px;
}
- After adding the code save the template.
- First of all we need to create a new page and to do this firstly go to Blog Title >Pages>New Page>Blank Page. Page editor will open, now click on HTML tab and paste the below given code in it.
<div id="contact_wrap">
<h3>
Contact Us</h3>
<form name="contact-form">
<input id="ContactForm1_contact-form-name" name="name" placeholder="Name" size="30" type="text" value="" />
<input id="ContactForm1_contact-form-email" name="email" placeholder="Email" size="30" type="text" value="" />
<textarea cols="25" id="ContactForm1_contact-form-email-message" name="email-message" placeholder="Message" rows="5"></textarea>
<input id="ContactForm1_contact-form-submit" type="button" value="Submit" />
<br />
<div style="max-width: 222px; text-align: center; width: 100%;">
<div id="ContactForm1_contact-form-error-message">
</div>
<div id="ContactForm1_contact-form-success-message">
</div>
</div>
</form>
</div>
- After adding the above code, publish the page.
Any type of information please Contact us.
Post a Comment