How to Customize new blogger contact form gadget with CSS


Its a  very nice thing that blogger has a new contact form gadget that can be installed in any blogger blog.
before this, many, used to adopt contact from from Google docs.
but the thing is something simpler than anything, user enter a valid name, valid email, and subject text to form and when submit, it send to to owner of blog  without loading the page.
if you have not already installed blogger contact form gadget in your blog, its time to add that, here is how you can add blogger contact form gadget to your blog.

So, after installing the new blogger contact form for blogger, you can customize the appearance of contact form with css.

Here is a simple css Snippet that change the appearance of the Blogget contact form.



#ContactForm1_contact-form-name {} //Style Input field where use have to enter name
#ContactForm1_contact-form-email {} //Style Input field where use have to enter e-mail
#ContactForm1_contact-form-email-message {}  //Style TextArea field where use have to enter e-mail message.
#ContactForm1_contact-form-submit {} //Style submit button of the form


Example (Which i have used in my blog)



#ContactForm1_contact-form-name {border: 1px solid #6B0C23;border-top: 1px solid #350E0E;}
#ContactForm1_contact-form-email {border: 1px solid #6B0C23;  border-top: 1px solid #350E0E;}
#ContactForm1_contact-form-email-message {border: 1px solid #6B0C23;  border-top: 1px solid #350E0E;}
#ContactForm1_contact-form-submit:active,#ContactForm1_contact-form-submit:focus:active,#ContactForm1_contact-form-submit.focus.active {-webkit-box-shadow: none;  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.3);box-shadow: none;}
#ContactForm1_contact-form-submit {background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDFNC0Sr_xXjcdRgGYYZEgUuW_KmFKumWwp65nhqqVXy2owuvuqlwpRiZjyoU3Nnvb0O3pV5Aprv6mvYwDB5o8AbVbUi9dvFvWopWwQ5yP6f0g4YW7a1Kx413XOstZ4fP_uYIwul_kMn8F/s1600/footer_button.png) no-repeat scroll -2px 0;  height: 42px;  width: 97px;  border: 0px transparent;  color: white;  margin: 0px auto;}
#ContactForm1_contact-form-submit:hover {-webkit-box-shadow: none;box-shadow: none;}



Read Article →

Contact form gadget for blogger




Now, a blogger can add contact form widget in blogger blogspot blog,within seconds ! that too come with a good styling and also customization possible with css.
Blogger's new contact form is a nice, simple and fast one.
There are many ,who uses google docs to create contact form
I have tried many contact forms already, but this one worth to add it. because we can trust Google.

If a user enter a valid Name , email address and Fill the subject message in to the form, owner of blog will receive an email to their email account which they have created the blog with.

Lets see how to add this contact form to your blog.

Go to blogger dashboard - > Layout/page elements, and click on add a gadget. it will popup a window of gadgets that you can install.
in More Gadgets tab, you can see a gadget named Contact form for  blogger.
Click to add.

Save This , drag the gadget to any section you want it to appear.




Read Article →

Add a simple yet beautiful "Recent Posts" Gadget in blogger blogspot

So, here you are, for adding a recent posts widget in your blogger blogspot.
Without wasting time, lets get to that straight.

I will be explaining how this works, at the end of this tutorial,
Now lets add this to your blog.


<script>var numposts=5,cmtext="Comments",pBlank="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3jYmQ_0k596lugKZoJh6IDq3FqAsSIs285cb0gkbp5JIl9LPmrZolwlnIItvn7CGI7cEeQXHN0zx0Vagy4DYKJygQfdBdFbSgnTDITdwemk4AT9PqD6N-K1aua7-cfO3T_leunLTmZQZ8/s798/no-image-72x72.png"; function rpthumb(b){document.write('<ul class="rpthumb">');b=b.feed.entry;for(var c=0;c<numposts;c++){for(var e,a=0;a<numposts;a++)if("alternate"==b[c].link[a].rel){e=b[c].link[a].href;break}for(a=0;a<numposts;a++)if("replies"==b[c].link[a].rel&&"text/html"==b[c].link[a].type){cmnum=b[c].link[a].title.split(" ")[0];break}var a=b[c].title.$t,d=b[c].published.$t.substring(0,10),d=d.replace(/-/g,"/");postimg="media$thumbnail"in b[c]?b[c].media$thumbnail.url:pBlank;document.write('<li><img src="'+postimg.replace(/\/s72-c/, "/s40-c")+'" class="rp-thumb" alt="thumb" />');document.write('<a href="'+e+'" target="_parent">'+a+'</a><span class="footer-outer"><span class="dt">'+d+'</span><span class="cm"> - '+cmnum+" "+cmtext+"</span></span></li>")}document.write("</ul>")}; </script><style type='text/css'>ul.rpthumb{background-color:transparent;margin:0 0;padding:0 0;border:1px solid #CCC}ul.rpthumb li{display:block;padding:7px 7px;margin:0 0;overflow:hidden}ul.rpthumb li a{text-decoration:none;display:block}ul.rpthumb li a:hover{}ul.rpthumb img.rp-thumb{padding:0 0;outline:none;border:1px solid #CCC;background-color:#02406C;display:block;float:left;margin:0 10px 0 0;width:40px;height:40px}ul.rpthumb span{font-size:10px;color:#666} </style><script src="http://aslamise.blogspot.com/feeds/posts/default?alt=json-in-script&callback=rpthumb&max-results=5"></script> <a href="http://aslamise.blogspot.com/2013/04/How-to-add-beautiful-recent-posts-widgets-in-blogger-with-javascript-and-css-full-code-with-demo.html" target="_blank"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmpWOoqo6ps0M3Q6lAo0L0d1JMyOdV6G-Zsr2W-5zoO5dyTwmAgUTfqXVaRqYfdH1qUfFMaoqa6TeOjqDaozjAYEapOgr1ESy1OPHOK4iTAOnCwUheRdJ9Eg0Zkr2TWxTHMv7B40Oy7V95/s1600/bullet_add.png" style="float: right;height: 20px;margin-top: -20px;position: relative;z-index: 10;" title="Get This widget for your blog" alt="Get This widget for your blog"/></a> <noscript></noscript>
Copy Above code and Open your blogs layout,
click on add a gadget option, then select html/javascript option then paste this code.
Don't forget to replace http://aslamise.blogspot.com with your blog's address,and set number of posts to retrieve. if not set, default is 5 posts.
save the gadget with a title of recent post or something.
Save layout. and load your blog.
It will show a recent posts widget where it will show
Enjoy blogging ;)



Read Article →