Senin, 30 Maret 2015
Stylish CSS3 Preloader For Blogger
Hello there! I am back with a new gadget for your blog. It will make your blog more impressive and stylish so if you have tried many stylish and impressive themes in your blog but still couldn't reach your goal of achieving the most impressive design and still seeking for something that will rock your blog then you are absolutely at right place. I don't think its a gadget but I call it a gadget as it is added from other blog(out of your blog). Its a preloader. Don't know what a preloader is? let me tell you, like its name(pre) it loads before your blogs content, just like a loading image but it is designed with CSS3 and javascript. It makes your blog look more impressive you can see a demo of preloader here. I hope you like it. Give me your feedback by leaving a comment below.
Continue reading »
Jumat, 27 Maret 2015
How To Get DMCA Protection For Your Blog
Now a days a problem that every unique content sharer is facing is content stealing. whenever a unique article is shared and it becomes popular then not only those visits that article who gets idea/help from that post but also some of them copy your work and use it for free without any hardship. As making a unique content is not easy therefore you need to protect it from content thieves. Though you can protect your content by enabling or disabling click on your blog and you can also report someone to Google but sometimes both these ways aren't effective so you need better protection and that's what this post is about. In this post I will show you how to get DMCA protection for your blog. So whenever and whoever copy your content you can launch a takedown and DMCA will take action against him.
Continue reading »
Kamis, 26 Maret 2015
How To Add Bing Tanslator In Blogger
Translating a web page to a person's own language is very important to make him understand your articles because a blog/site without a translator has only one language and everyone can't understand that specific language. Specially if your blog is targeted by international visitors then you must have a translator in your blog to allow them to change your content language to their own language and help them understand. As English is an International language therefore first thing is to write your articles in English and after that you can add a translator widget to help others understand your post. It is very important to add translator to your blog because it is related to traffic, for example if your blog is in English language and someone visits your blog from Africa or any other country and he doesn't know your language then there must be something which help him out and that is a page translator.
Continue reading »
Senin, 23 Maret 2015
How To Enable Auto-Complete In Google Custom Search Box
Google webmaster tools has a very useful feature for blogger and webmaster that it lets us to create a custom search engine and add it in or blog or site, but as Google search has an auto-complete feature why our search engines aren't auto-completing our search? well! Google has enabled us to allow or disallow auto-complete in our search engines but most of us either don't know about Google search auto-complete option or are not aware of how it works and how to enable it. So this post is dedicated to those who want to enable auto-complete in their search engines.
Continue reading »
Sabtu, 21 Maret 2015
How To Add Soundcloud Embedded Tracks In Blogger
Do you have a music collection? or do you have a collection of music on sound cloud and you want to share your music with others through your blog? and you don't know how to do that, if yes then I can tell you an easiest way to share your music with you audience and increase your fans on sound cloud. You can share your music either as a gadget or in posts but both ways are easy, there is no difficulty at all. So this post is about how to share sound cloud tracks in blogger.
Continue reading »
Kamis, 19 Maret 2015
How To Setup Google Custom Search Box In Two Pages In Blogger
Do you use Google webmaster tools? if yes then I am sure that you are aware of Google custom search engine. Google custom search engine is a feature of Google webmaster tools which lets you to create a custom search engine for your blog or site and you can add it your blog also. It works on javascript and doesn't need any experience in Html or java. All you need is to setup search engine for your blog. You can read a post in which I have shared some search box where I have mentioned Google custom search engine too. You can read that post and create a custom search engine for your blog by following it, if you haven't setup a search engine yet. Click here to read that post. In this post I will tell you how to add Google custom search in blogger(two pages). If you didn't get me that what am I talking about then read below paragraph.
Continue reading »
5 Fastest Templates For Blogger
Seo, money, style, content, blog is not only about all this and other things but fast loading and speed is also a very important for a blog. Fast loading plays a vital role in making more fans and audience for a blog because a blog which loads slowly like a snail isn't liked by anyone. I am sure that you also don't like slow loading blogs and for the same reason I am creating this post. In this post I will show you some fastest blogger templates because blogger templates are too simple and after a little customization they slows down automatically, so we need an upgrade. So if you want a fast loading blog, I recommend you to use any of the below fast loading template.
Continue reading »
Selasa, 17 Maret 2015
5 Examples To Customize Blockquote Style In Blogger And WordPress
Blockquotes are usually used to indicate the quotation of a large section of text from external sources or highlight someone's quotes, thoughts in blog article.
Now day's every blogger started to using it on their blog to make blog article stand out and grab the reader’s attention.
Usually all blogging platform has a default styling for Blockquotes, but we should modify a default styling with something in relevance with your theme/template. So, this tutorial will show you how to customize blockquote style in Blogger and WordPress. along with it I'll present 10 stylish examples of customized blockquotes styles for your blog using CSS.
We'll be using different pseudo-elements like
:before
, :after
for creating a unique look for 5 examples. Many bloggers have a curiosity to know Is there an advantage or impact for SEO of blockquotes?
No! I don't think so, there are many probloggers uses blockquote on their blog and I haven't seen any example that tells me it can heart SEO. but it actually help you to rank well on Google. What do you say about it?
How To Customize Blockquote Style In Blogger/Blogspot:
To add customized blockquote style in blogger just navigate to Blogger Dashboard >> Template >> Edit HTML and Search for </head>
Now choose one of the styles suggested below and copy the CSS code and paste it before </head> tag.
Done! Save your template!
Now whenever you want to add blockquote style in your blog post just copy that text which you want to appear as a blockquote and hit icon as shown in below screenshot:
Now whenever you want to add blockquote style in your blog post just copy that text which you want to appear as a blockquote and hit icon as shown in below screenshot:
How To Customize Blockquote Style In WordPress Themes:
It's quite simple to add blockquote style in WordPress themes, you need to add the following codes to style.css or custom.css file of your theme. You can do this with another way just go to Appearance » Editor in your WordPress admin or edit.
Now, pick out on of the styles suggested below and design your blog/website for a better user interface.
#BlockQuote Style 1: Simple
In this example I have used Unicode for left double quote. you can increase the size of quotation mark just edit font-size:4em; with you size.
BlockQuote Style 1 For Blogger:
<style>
.post blockquote {
background:#f9f9f9;
border-left:6px solid #ccc;
font-family: Georgia, serif;
margin:1.5em 10px;
padding:.5em 10px;
quotes:"\201C""\201D""\2018""\2019";
}
.post blockquote:before {
color:#ccc;
content:open-quote;
font-family: cambria, Georgia;
font-size:4em;
line-height:.1em;
margin-right:.25em;
vertical-align:-.4em;
}
.post blockquote p {
display:inline;
}
.post blockquote cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 10px;
}
</style>
BlockQuote Style 1 For WordPress:
blockquote {
background:#f9f9f9;
border-left:6px solid #ccc;
font-family: Georgia, serif;
margin:1.5em 10px;
padding:.5em 10px;
quotes:"\201C""\201D""\2018""\2019";
}
blockquote:before {
color:#ccc;
content:open-quote;
font-family: cambria, Georgia;
font-size:4em;
line-height:.1em;
margin-right:.25em;
vertical-align:-.4em;
}
blockquote p {
display:inline;
}
blockquote cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 10px;
}
#BlockQuote Style 2: Hover Effect
This was my favorite style, I found it on codepen, In this example you can see mouse hover effect which is looking really elegant.
BlockQuote Style 2 For Blogger:
<style>
.post blockquote {
text-align:left;
font: 16px/24px Arial, sans-serif;
color: #555;
padding: 0.5em 10px;
margin: 1.5em 10px;
}
.post blockquote:before {
content: open-quote;
font-size: 24pt;
text-align: center;
line-height: 42px;
color: #fff;
background: #ddd;
float: left;
position: relative;
border-radius: 25px;
margin-right: 0.5em;
vertical-align: -0.4em;
display: block;
height: 25px;
width: 25px;
}
.post blockquote:after {
content: close-quote;
font-size: 24pt;
text-align: center;
line-height: 42px;
color: #fff;
background: #ddd;
float: right;
position: relative;
border-radius: 25px;
margin-right: 1em;
vertical-align: -0.5em;
display: block;
height: 25px;
width: 25px;
}
.post blockquote:hover:after, blockquote:hover:before {
background-color: #555;
transition: all 350ms;
-o-transition: all 350ms;
-moz-transition: all 350ms;
-webkit-transition: all 350ms;
}
</style>
BlockQuote Style 2 For WordPress:
blockquote {
text-align:left;
font: 16px/24px Arial, sans-serif;
color: #555;
padding: 0.5em 10px;
margin: 1.5em 10px;
}
blockquote:before {
content: open-quote;
font-size: 24pt;
text-align: center;
line-height: 42px;
color: #fff;
background: #ddd;
float: left;
position: relative;
border-radius: 25px;
margin-right: 0.5em;
vertical-align: -0.4em;
display: block;
height: 25px;
width: 25px;
}
blockquote:after {
content: close-quote;
font-size: 24pt;
text-align: center;
line-height: 42px;
color: #fff;
background: #ddd;
float: right;
position: relative;
border-radius: 25px;
margin-right: 1em;
vertical-align: -0.5em;
display: block;
height: 25px;
width: 25px;
}
blockquote:hover:after, blockquote:hover:before {
background-color: #555;
transition: all 350ms;
-o-transition: all 350ms;
-moz-transition: all 350ms;
-webkit-transition: all 350ms;
}
#BlockQuote Style 3: Using Dashed Border And Background Quote Image
In this example I have added dashed border around blockquote, Image for double quote and I have used Muli font from Google web fonts library.
BlockQuote Style 3 For Blogger:
<style>
.post blockquote {
@import url(http://fonts.googleapis.com/css?family=Muli);
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs4_llGyTXbgmIqTSvr-k1d6h410QDEypF4LOiFl09MgO6lj7-pTO4270xzeutd-JXmDbDIeE_h6lIqbU7JEHZeCDrpJp1kvIHxwIriWal1POGlSR5AbPJP98k3asx0iCVEtwn6WgAEA7a/h120/blockquote.png) no-repeat;
border: dashed 2px #ccc;
color: #333;
font-family: muli;
margin: 30px;
padding: 20px 30px 30px 40px;
}
</style>
BlockQuote Style 3 For WordPress:
blockquote {
@import url(http://fonts.googleapis.com/css?family=Muli);
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs4_llGyTXbgmIqTSvr-k1d6h410QDEypF4LOiFl09MgO6lj7-pTO4270xzeutd-JXmDbDIeE_h6lIqbU7JEHZeCDrpJp1kvIHxwIriWal1POGlSR5AbPJP98k3asx0iCVEtwn6WgAEA7a/h120/blockquote.png) no-repeat;
border: dashed 2px #ccc;
color: #333;
font-family: muli;
margin: 30px;
padding: 20px 30px 30px 40px;
}
#BlockQuote Style 4:
Example 4 will have cool circle around quotation mark.
BlockQuote Style 4 For Blogger:
<style>
.post blockquote{
font-family: Georgia, Times, "Times New Roman", serif;
font-size: 16px;
border-top: solid 2px #dddddd;
border-left: solid 2px #dddddd;
border-right: solid 2px #dddddd;
border-bottom: solid 2px #dddddd;
margin: 1em 0px;
padding: 1em 1em;
font-family: Georgia, Times, "Times New Roman", serif;
font-style: italic;
font-size: 1em;
min-height: 60px;
}
.post blockquote:before {
display: block;
float: left;
content: "\201C";
font-size: 100px;
margin-right: 10px;
color: #fff;
background-color: #03C9A9;
padding: 15px 12px 5px 8px;
width: 50px;
height: 50px;
line-height: 90px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.post blockquote cite {
position: relative;
display: block;
text-align: right;
margin-top: 5px;
color: #999;
}
</style>
BlockQuote Style 4 For WordPress:
blockquote{
font-family: Georgia, Times, "Times New Roman", serif;
font-size: 16px;
border-top: solid 2px #dddddd;
border-left: solid 2px #dddddd;
border-right: solid 2px #dddddd;
border-bottom: solid 2px #dddddd;
margin: 1em 0px;
padding: 1em 1em;
font-family: Georgia, Times, "Times New Roman", serif;
font-style: italic;
font-size: 1em;
min-height: 60px;
}
blockquote:before {
display: block;
float: left;
content: "\201C";
font-size: 100px;
margin-right: 10px;
color: #fff;
background-color: #03C9A9;
padding: 15px 12px 5px 8px;
width: 50px;
height: 50px;
line-height: 90px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
blockquote cite {
position: relative;
display: block;
text-align: right;
margin-top: 5px;
color: #999;
}
#BlockQuote Style 5:
This was an awesome blockquote styleI found on codepen,
BlockQuote Style 5 For Blogger:
<style>
.post blockquote{
display:block;
background: #fff;
padding: 15px 20px 15px 45px;
margin: 0 0 20px;
position: relative;
font-family: Georgia, serif;
font-size: 16px;
line-height: 1.2;
color: #666;
text-align: justify;
border-left: 15px solid #c76c0c;
border-right: 2px solid #c76c0c;
-moz-box-shadow: 2px 2px 15px #ccc;
-webkit-box-shadow: 2px 2px 15px #ccc;
box-shadow: 2px 2px 15px #ccc;
}
.post blockquote::before{
content: "\201C"; /*Unicode for Left Double Quotes*/
font-family: Georgia, serif;
font-size: 60px;
font-weight: bold;
color: #999;
position: absolute;
left: 10px;
top:5px;
}
.post blockquote::after{
content: "";
}
.post blockquote a{
text-decoration: none;
background: #eee;
cursor: pointer;
padding: 0 3px;
color: #c76c0c;
}
.post blockquote a:hover{
color: #666;
}
.post blockquote em{
font-style: italic;
}
</style>
BlockQuote Style 5 For WordPress:
blockquote{
display:block;
background: #fff;
padding: 15px 20px 15px 45px;
margin: 0 0 20px;
position: relative;
font-family: Georgia, serif;
font-size: 16px;
line-height: 1.2;
color: #666;
text-align: justify;
border-left: 15px solid #c76c0c;
border-right: 2px solid #c76c0c;
-moz-box-shadow: 2px 2px 15px #ccc;
-webkit-box-shadow: 2px 2px 15px #ccc;
box-shadow: 2px 2px 15px #ccc;
}
blockquote::before{
content: "\201C"; /*Unicode for Left Double Quotes*/
font-family: Georgia, serif;
font-size: 60px;
font-weight: bold;
color: #999;
position: absolute;
left: 10px;
top:5px;
}
blockquote::after{
content: "";
}
blockquote a{
text-decoration: none;
background: #eee;
cursor: pointer;
padding: 0 3px;
color: #c76c0c;
}
blockquote a:hover{
color: #666;
}
blockquote em{
font-style: italic;
}
Final Words!
So, this was the complete tutorial on how to customize blockquotes style in Blogger and WordPress. and I hope that you found it helpful and I’m sure it will benefit you a lot.
If you have any query's, or if I missed anything in this article please let me know, I would love to hear from you :)
Now tell me which is your favorite blockquote style?
Senin, 16 Maret 2015
Using Description For Seo/Fixing Duplicate Description In Blogger
A description is added to a blog to describe it to tell people what the blog is about. In blogger there are three different ways to add a description but most of the users are aware of only two. One way to add description to blog is using meta codes, the second way is to add description in header(layout) and the third way to add description is to add it in search preferences. But if description is added in all of these regions it cause a problem of that is in every post even if it has its own description, blog description will go with it because blogger doesn't work as other sites that every post/page/directory/homepage has its own description. As description plays a very important role in Seo therefore every has to focus it.
Continue reading »
Sabtu, 14 Maret 2015
How To Get Your Blog To The Top Of Search Results
An issue about seo and bringing blog or site to search result's front page is common with every blogger and webmaster. Despite of applying all the seo tips, meta codes and new seo tricks still there is no improvement? so what to do? let me tell you how to bring your blog to front page of search results. After reading and following this post you will surely see an improvement in your blog's seo and traffic. Before I start let me clear that you should follow all the seo posts which I have created before. You can read them here. After following all the seo tips given in these posts you can follow this post. In this post I will give you some most effective tips to get your site on top of the search results of any search engine.
Continue reading »
Jumat, 13 Maret 2015
How To Fix Google Webmaster Tools Errors In Blogger
Do you have alot of error in your Google webmaster tools structured data? if yes and you are seeking for how to fix Google webmaster tools errors like Missing required field "updated", image_url, blogid, postid etc then you are at right place. These errors can be easily remove in just a few simple steps. These errors harms the performance of your blog therefore these should be removed immediately. This tutorial is only for blogger so if you are a site owner then I am not sure about if it would work in your site or no. In this article I will show you to how can you remove errors from your Google webmaster tools structured data. So lets get started! follow below steps to remove errors from your blog's structured data.
Continue reading »
How To Create Anchor Links In blogger
Have you ever heared about anchor links? Maybe you are not aware of it as only a few of bloggers use this great thing to make their posts impressive and easier to read. Anchor links are the links which takes you to a specific part of page, just like back to top button takes from end of the page to top of the page. Similar to back to top button now you can create anchor links in your blog posts and help visitors to navigate to specific part of post. There is no need of any gadget or widget for creating anchor links, you can do it by using Html codes.
Continue reading »
Rabu, 11 Maret 2015
Building a List/Grid View Switcher in Blogger with Auto Read More
A list of posts in grid or list view provides a more defined canvas with which a blogger or website owner can use as a guide in creating content. This concept has extended to visitors, where they can have control on whether or not they wish to view posts in list or grid view. While custom modification codes are shared by some blogging sites, others are not. Some that are shared, however, can be complex even to bloggers themselves, such as JQuery.
The good news is there are lightweight codes available, including the Auto Read More in Blogger. Through it, a blogger can add two buttons that will enable visitors to switch between grid view and list view, depending on what they prefer. These buttons, however, are only visible on limited pages - homepage, label page and archive page. Nonetheless, it is better than not having this particular feature at all.
Unlike JQuery, the Auto Read More uses HTML, CSS and JavaScript. To view posts in a list view, two sets of CSS codes are added as one. Another set is added to view posts in grid view. Other combination of codes is used to enable easy switch between views, particularly at a click of a button.
Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box. Type this tag below inside the box and hit Enter to find it:
Step 4. Next, search for the following line:
Step 8. Finally, click "Preview" to see if everything looks good and press the 'Save Template' button to save the changes...
Considering the ease with which the codes can be customized, building a list/grid view switcher would be completed in no time. A real bonus is that Auto Read More works on all platforms, with cross-browser support as well.
The good news is there are lightweight codes available, including the Auto Read More in Blogger. Through it, a blogger can add two buttons that will enable visitors to switch between grid view and list view, depending on what they prefer. These buttons, however, are only visible on limited pages - homepage, label page and archive page. Nonetheless, it is better than not having this particular feature at all.
Unlike JQuery, the Auto Read More uses HTML, CSS and JavaScript. To view posts in a list view, two sets of CSS codes are added as one. Another set is added to view posts in grid view. Other combination of codes is used to enable easy switch between views, particularly at a click of a button.
How to Add a List/Grid View Switcher in Blogger
Step 1. Log into your Blogger dashboard and select your blog, then go to "Template" > press the "Edit HTML" button.Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box. Type this tag below inside the box and hit Enter to find it:
</head>Step 3. Just above the </head> tag, copy and paste the following CSS style and scripts:
<script type='text/javascript'>
function list_view(){
if(document.getElementsByClassName("post")) {elementArray = document.getElementsByClassName("post"); while (elementArray.length) {elementArray[0].className = "post-grid-view";}}
if(document.getElementsByClassName("post-title")) {elementArray = document.getElementsByClassName("post-title"); while (elementArray.length) {elementArray[0].className = "post-title-grid";}}
}
function grid_view(){
if(document.getElementsByClassName("post-grid-view")) {elementArray = document.getElementsByClassName("post-grid-view"); while (elementArray.length) {elementArray[0].className = "post";}}
if(document.getElementsByClassName("post-title-grid")) {elementArray = document.getElementsByClassName("post-title-grid"); while (elementArray.length) {elementArray[0].className = "post-title";}}
}
</script>
<script type='text/javascript'>
posts_no_thumb_sum = 100;
posts_thumb_sum = 350;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID, pURL, pTITLE){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = posts_no_thumb_sum;
if(img.length>=1) {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'"><img src="'+img[0].src+'" /></a></span>';
summ = posts_thumb_sum;
}
else {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'" title="'+ pTITLE+'"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfNylWAHDwV2rNMmj-Xmit_cW2xsZlW7QE9EmN4cZNKuvJQZ5MIyJILXidCatBE4DRc7LJDSRwqBk5-De_UvUPQ7YCAwQG-lnRw2vpB5B2MV0YtZHVu6bCADxz7UafMMf4CsJF2-1IIcVB/s1600/sorry-image-not-available.png" style="margin-top: -30px;" /></a></span>';
summ = posts_thumb_sum;
}
var summary = imgtag + '<a href="'+ pURL +'"><div class="post-summary-text">' + removeHtmlTag(div.innerHTML,summ) + '</div></a>';
div.innerHTML = summary;
}
//]]>
</script>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#list-view-button {font-family: Verdana; text-align:left;cursor:pointer;font-size: 14px;border-bottom: 5px solid #eaeaea;text-decoration: none;}
#list-view-button a{text-decoration: none; color: #666;}
.grid-view-button {background-color:#efefef;color:#666;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.list-view-button {background-color:#efefef;color:#000;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.post-grid-view {width:100%;height:250px;overflow: hidden;float:left;margin:0px 0px 20px !important;position:relative;display: block; -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s; }
.post-grid-view .posts-thumb {width:40% !important;height:250px !important;float:left;margin:0px;position:relative;border-top: 0px solid transparent !important;overflow: hidden;}
.post-grid-view .post-header {display: none;}
.post-grid-view .post-body img {min-width: 300px !important; min-height: 250px !important;display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-grid-view .post-summary-text {opacity: 1; background: none; width: 58%;font-size: 120% !important;clear: none !important; display: inline-block !important; padding: 80px 0px !important; color: #666 !important; text-shadow: none !important; float: right !important; text-align: left; position: relative !important; font-family: 'Open Sans Condensed', sans-serif;}
.post-grid-view .post-body {height: 250px;background:#f5f5f5; box-shadow: none !important;}
.post-title-grid a { font-size:170%;color: #777;font-family: 'Open Sans Condensed', sans-serif;}
.post-title-grid { position: absolute; left: 42%; top: 5%; z-index: 1;}
.post-grid-view .post-footer {left: 41%; display:block;position: absolute; bottom: 2%;font-size: 120%; background: transparent !important; border: 0px solid transparent !important;font-family: 'Open Sans Condensed', sans-serif;}
.post-grid-view .post-footer a{color: #128EC9;}
.post-grid-view a.comment-bubble {display: none;}
.main-inner .column-center-inner .section {margin: 0px !important;}
.post { -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s;}
#blog-pager {clear:both;}
.post {height:auto;width:32.2%;display:inline-block;text-decoration:none;float:left;margin:0 1% 1% 0%;overflow: hidden;padding:0!important;}
.date-header {display: none;}
h3.post-title a {font-size:90%;font-family: 'Open Sans Condensed', sans-serif;text-transform:uppercase;color:#fff;text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);font-weight: bold;}
h3.post-title {text-align: center; position:absolute;top:0;width:100%;overflow:hidden;margin:0px !important;padding-top: 30%; background-color: rgba(50, 126, 213, 0.8);transform: scale(1);opacity: 0;z-index: 10;height: 100%;transition: all 300ms ease-out 0s;}
h3.post-title:hover {opacity: 1;}
.posts-thumb {width:100%!important;height:200px!important;overflow:hidden;clear:both;}
.post-body {border-radius:2px;box-shadow:0 5px 4px 1px rgba(0,0,0,0.1);position:relative;overflow: hidden;}
.post-body a {text-decoration: none;}
.post-body img {display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;min-width:200px!important;min-height:200px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-summary-text {display: none;}
a.comment-bubble {color:#fff;text-decoration:none;font-size:100%;width: 100%;text-align: center;position:absolute;top:175px;left: 0px;text-shadow:1px 2px 1px #333;font-family: 'Pacifico', cursive;z-index: 122;}
a.comment-bubble:before { content: "Comments: " url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkVKxMjf6WWhYqgB1kPQzYo3o2dTuDEpFk51FBittMkaxwtDxheJwCaNe9aAY84SAqTBmMXElYy5zAngIfds64jBYX5kDdGVe_hAczNkCb4-zbXQDE_4r3SHDFHCJ95xujB3xvbtl8if1Y/s1600/heart-active.png);}
.post-header,.post-footer {display:none;}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>
function list_view(){
if(document.getElementsByClassName("post")) {elementArray = document.getElementsByClassName("post"); while (elementArray.length) {elementArray[0].className = "post-grid-view";}}
if(document.getElementsByClassName("post-title")) {elementArray = document.getElementsByClassName("post-title"); while (elementArray.length) {elementArray[0].className = "post-title-grid";}}
}
function grid_view(){
if(document.getElementsByClassName("post-grid-view")) {elementArray = document.getElementsByClassName("post-grid-view"); while (elementArray.length) {elementArray[0].className = "post";}}
if(document.getElementsByClassName("post-title-grid")) {elementArray = document.getElementsByClassName("post-title-grid"); while (elementArray.length) {elementArray[0].className = "post-title";}}
}
</script>
<script type='text/javascript'>
posts_no_thumb_sum = 100;
posts_thumb_sum = 350;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID, pURL, pTITLE){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = posts_no_thumb_sum;
if(img.length>=1) {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'"><img src="'+img[0].src+'" /></a></span>';
summ = posts_thumb_sum;
}
else {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'" title="'+ pTITLE+'"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfNylWAHDwV2rNMmj-Xmit_cW2xsZlW7QE9EmN4cZNKuvJQZ5MIyJILXidCatBE4DRc7LJDSRwqBk5-De_UvUPQ7YCAwQG-lnRw2vpB5B2MV0YtZHVu6bCADxz7UafMMf4CsJF2-1IIcVB/s1600/sorry-image-not-available.png" style="margin-top: -30px;" /></a></span>';
summ = posts_thumb_sum;
}
var summary = imgtag + '<a href="'+ pURL +'"><div class="post-summary-text">' + removeHtmlTag(div.innerHTML,summ) + '</div></a>';
div.innerHTML = summary;
}
//]]>
</script>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#list-view-button {font-family: Verdana; text-align:left;cursor:pointer;font-size: 14px;border-bottom: 5px solid #eaeaea;text-decoration: none;}
#list-view-button a{text-decoration: none; color: #666;}
.grid-view-button {background-color:#efefef;color:#666;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.list-view-button {background-color:#efefef;color:#000;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.post-grid-view {width:100%;height:250px;overflow: hidden;float:left;margin:0px 0px 20px !important;position:relative;display: block; -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s; }
.post-grid-view .posts-thumb {width:40% !important;height:250px !important;float:left;margin:0px;position:relative;border-top: 0px solid transparent !important;overflow: hidden;}
.post-grid-view .post-header {display: none;}
.post-grid-view .post-body img {min-width: 300px !important; min-height: 250px !important;display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-grid-view .post-summary-text {opacity: 1; background: none; width: 58%;font-size: 120% !important;clear: none !important; display: inline-block !important; padding: 80px 0px !important; color: #666 !important; text-shadow: none !important; float: right !important; text-align: left; position: relative !important; font-family: 'Open Sans Condensed', sans-serif;}
.post-grid-view .post-body {height: 250px;background:#f5f5f5; box-shadow: none !important;}
.post-title-grid a { font-size:170%;color: #777;font-family: 'Open Sans Condensed', sans-serif;}
.post-title-grid { position: absolute; left: 42%; top: 5%; z-index: 1;}
.post-grid-view .post-footer {left: 41%; display:block;position: absolute; bottom: 2%;font-size: 120%; background: transparent !important; border: 0px solid transparent !important;font-family: 'Open Sans Condensed', sans-serif;}
.post-grid-view .post-footer a{color: #128EC9;}
.post-grid-view a.comment-bubble {display: none;}
.main-inner .column-center-inner .section {margin: 0px !important;}
.post { -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s;}
#blog-pager {clear:both;}
.post {height:auto;width:32.2%;display:inline-block;text-decoration:none;float:left;margin:0 1% 1% 0%;overflow: hidden;padding:0!important;}
.date-header {display: none;}
h3.post-title a {font-size:90%;font-family: 'Open Sans Condensed', sans-serif;text-transform:uppercase;color:#fff;text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);font-weight: bold;}
h3.post-title {text-align: center; position:absolute;top:0;width:100%;overflow:hidden;margin:0px !important;padding-top: 30%; background-color: rgba(50, 126, 213, 0.8);transform: scale(1);opacity: 0;z-index: 10;height: 100%;transition: all 300ms ease-out 0s;}
h3.post-title:hover {opacity: 1;}
.posts-thumb {width:100%!important;height:200px!important;overflow:hidden;clear:both;}
.post-body {border-radius:2px;box-shadow:0 5px 4px 1px rgba(0,0,0,0.1);position:relative;overflow: hidden;}
.post-body a {text-decoration: none;}
.post-body img {display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;min-width:200px!important;min-height:200px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-summary-text {display: none;}
a.comment-bubble {color:#fff;text-decoration:none;font-size:100%;width: 100%;text-align: center;position:absolute;top:175px;left: 0px;text-shadow:1px 2px 1px #333;font-family: 'Pacifico', cursive;z-index: 122;}
a.comment-bubble:before { content: "Comments: " url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkVKxMjf6WWhYqgB1kPQzYo3o2dTuDEpFk51FBittMkaxwtDxheJwCaNe9aAY84SAqTBmMXElYy5zAngIfds64jBYX5kDdGVe_hAczNkCb4-zbXQDE_4r3SHDFHCJ95xujB3xvbtl8if1Y/s1600/heart-active.png);}
.post-header,.post-footer {display:none;}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>
Step 4. Next, search for the following line:
<b:section class='main' id='main' showaddelement='no'>...in case you can't find it, search for this one instead:
<b:section class='main' id='main' showaddelement='yes'>Step 5. Just above this line, add the following code:
<b:if cond='data:blog.pageType != "static_page"'>Step 6. Now, search the code below:
<b:if cond='data:blog.pageType!= "item"'>
<div id='list-view-button'><a class='grid-view-button' onclick='grid_view()'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMfN90Ta-InFeNKvU_MXO9ewZ2mkMgcwJLLdhMMeeUyAK1rcHJi5QM0KAii4-EJVeSs5MCi7rksDLORVxPCu5rxcVFWtCPlHo8bn3UqrxXqnY8-Ez99esalt2wRXit3IwbPkSDGe_kz0zE/s1600/search-grid-icon.png' style='margin: -8px 1px -3px -6px;width: 16px;'/> Grid View</a> <a class='list-view-button' onclick='list_view()'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjylBB-JwzFMbBcjgC9Ws68JNJ1yFhY9ZhJs_4pF78aI14rc_m0ulgPqnZB986aFarfU6MCA4pkN0fybIqLYL1YQ2nx4eoqrSvCBwLDlXKfQGXu27q16QpgXUZ1w9bT0YC44U6Ljxa-XP5e/s1600/icon-list-view.png' style='margin: -8px 1px -3px -6px;width: 16px;'/> List View</a></div>
</b:if></b:if>
<data:post.body/>Step 7. You will find 3 occurrences of this code, replace only the second and third one with this one below:
<b:if cond='data:blog.pageType != "static_page"'>Important: if you already added the auto read more script, remove the previous one in order to make this work.
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>","<data:post.url/>");</script>
<b:if cond='data:post.allowComments'>
<a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:post.numComments/>
</a>
</b:if>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == "static_page"'>
<data:post.body/>
</b:if>
Step 8. Finally, click "Preview" to see if everything looks good and press the 'Save Template' button to save the changes...
That's it!
Adding a dynamic view switcher on a blog will make viewing content a lot easier for visitors. Whether using a list or grid view, a more compressed list of posts will eliminate the need to click on the next page, which could take time if loading takes a while to complete. For a blog archive, using the Auto Read More codes in Blogger will surely make everyone's viewing experience very convenient.Considering the ease with which the codes can be customized, building a list/grid view switcher would be completed in no time. A real bonus is that Auto Read More works on all platforms, with cross-browser support as well.
5 Common And Silly Blogging Mistakes You Should Avoid
When you start your blog you might curious to know How to make your blog better than other blogs out there and how to become a successful blogger?
To be honest I am a bit confused to answer questions like this, because I am not a person who has a vast experience about blogging. I'm also still learning many new things in blogging world the same as other bloggers. and I still have a lot to improve my blogging skill.
But here as much as I would like to share what I've learned from my mistakes and I will also share how can you avoid these mistakes to rich out more peoples on your blog.
If you just started your blog you have to read some articles that tells you what you should do and what you should avoid. So today I am going to talk about common blogging mistakes which unknowingly happens by newbie bloggers. and these mistakes can prevent you to become a successful blogger.
The biggest mistake I can ever see that many bloggers puts lot of contents on their blog without having attractive and professional looking blog design.
If you want to make your first time visitor is regular visitor then you must have attractive blog design to catch your readers attention towards your blog.
Tips To Create Attractive Blog Design:
For every blogger quality should be important rather than quantity. This type of blogging mistake I have seen many times. many bloggers usually vying to fill up the blog with heap of posts in the hope of quickly getting a lot of visitors.
Writing few good quality posts on your blog will not give you thousand visitors! but it will give you a loyal readers :) and Writing thousand of posts without quality will surely give you thousand visitors but can you get even one loyal reader for your blog?
Just think about it!
If the quality isn’t good, then your conversions will be low with your readers, so why bother? just try to make great contents in order to get massive traffic to your blog.
Every blogger started blogging because he want to make money from it. They take it for granted that success in blogging can be done overnight, but it is not so easy. you need to have a lot of patience, efforts, and consistency in order to succeed.
I see far too many bloggers who don’t have the patience to build good relationship, they becomes forceful in trying to promote their blog, get lazy in providing great and read worthy content and at the end they fail.
Patience is a success key for every blogger and nobody in the blogging industry who achieved their goal without hard work and patience. so keep some patience and success will follow you.
Social Media!
Only Social Media?
No! you can't get huge traffic from social media for a longer, you should optimize your blog posts in order to get more traffic from Google and other search engines.
So taking maximum advantage of Search Engines is most important for every blogger. but many bloggers "especially newbies" avoids SEO optimization.
Read: 10 On Page SEO Tips To Optimize Your Blog For Search Engines
To avoid this mistake learn how to do proper SEO optimization for blog post to achieve high rank on search engines.
I agree with the guy who made up the statement"Content is king", but we can say that statement only when if we have a combination of great content and marketing, because marketing makes content king.
If you have a great contents on your blog but you don't have enough traffic then how can you say "content is king"
There are several blоggеrѕ оut there who provides great content оn their blog but they are unlisted in competitive blogging world, why?
Marketing Guys Marking!
After publishing post, you should promote your blog post on social networking sites to get instant response on your post. after getting response from your readers you can analyze readers engagement with your post.
I think you got, what I want to say. In short you can’t succeed in blogging by having only great contents. you have to marketing yourself on various social networking sites.
To be honest I am a bit confused to answer questions like this, because I am not a person who has a vast experience about blogging. I'm also still learning many new things in blogging world the same as other bloggers. and I still have a lot to improve my blogging skill.
But here as much as I would like to share what I've learned from my mistakes and I will also share how can you avoid these mistakes to rich out more peoples on your blog.
If you just started your blog you have to read some articles that tells you what you should do and what you should avoid. So today I am going to talk about common blogging mistakes which unknowingly happens by newbie bloggers. and these mistakes can prevent you to become a successful blogger.
7 Common Blogging Mistakes To Avoid
Blogging Mistake #1: Unattractive Blog Design:
The biggest mistake I can ever see that many bloggers puts lot of contents on their blog without having attractive and professional looking blog design.
If you want to make your first time visitor is regular visitor then you must have attractive blog design to catch your readers attention towards your blog.
Tips To Create Attractive Blog Design:
- If you have not a blog designing skill then just spend few dollars to purchase template/theme or choose free but professional looking template/theme and customize it yourself.
- Keep your blog design color scheme simple and eye catchy.
- Use social share and social follow buttons to build good connection with your readers..
- Most important widgets: Newsletter box, Author bio box, Social media buttons, Popular posts, Recent posts.
- Use simple and fast loading fonts like Georgia, Arial, Verdana etc.
Blogging Mistake #2: Focused On Quantity Rather Than Quality
What’s more important for you - Quantity or Quality?
For every blogger quality should be important rather than quantity. This type of blogging mistake I have seen many times. many bloggers usually vying to fill up the blog with heap of posts in the hope of quickly getting a lot of visitors.
Writing few good quality posts on your blog will not give you thousand visitors! but it will give you a loyal readers :) and Writing thousand of posts without quality will surely give you thousand visitors but can you get even one loyal reader for your blog?
Just think about it!
If the quality isn’t good, then your conversions will be low with your readers, so why bother? just try to make great contents in order to get massive traffic to your blog.
Blogging Mistake #3: Don't Have Patience
Every blogger started blogging because he want to make money from it. They take it for granted that success in blogging can be done overnight, but it is not so easy. you need to have a lot of patience, efforts, and consistency in order to succeed.
Patience is most important ingredient to get success in blogging world
I see far too many bloggers who don’t have the patience to build good relationship, they becomes forceful in trying to promote their blog, get lazy in providing great and read worthy content and at the end they fail.
Patience is a success key for every blogger and nobody in the blogging industry who achieved their goal without hard work and patience. so keep some patience and success will follow you.
Blogging Mistake #4: Do Not Taking Advantage Of Search Engines
Why you write articles on your blog, the first reason is you want readers, Right? but how to get more readers for your blog in short span of time.
Social Media!
Only Social Media?
No! you can't get huge traffic from social media for a longer, you should optimize your blog posts in order to get more traffic from Google and other search engines.
So taking maximum advantage of Search Engines is most important for every blogger. but many bloggers "especially newbies" avoids SEO optimization.
Read: 10 On Page SEO Tips To Optimize Your Blog For Search Engines
To avoid this mistake learn how to do proper SEO optimization for blog post to achieve high rank on search engines.
Blogging Mistake #5: Lack Of Marketing, Just Focused On Contents
I agree with the guy who made up the statement"Content is king", but we can say that statement only when if we have a combination of great content and marketing, because marketing makes content king.
If you have a great contents on your blog but you don't have enough traffic then how can you say "content is king"
There are several blоggеrѕ оut there who provides great content оn their blog but they are unlisted in competitive blogging world, why?
Marketing Guys Marking!
After publishing post, you should promote your blog post on social networking sites to get instant response on your post. after getting response from your readers you can analyze readers engagement with your post.
I think you got, what I want to say. In short you can’t succeed in blogging by having only great contents. you have to marketing yourself on various social networking sites.
Conclusion
So, these are the 7 common blogging mistakes to avoid, The bottom line of this post is we should learn and grow from the mistakes and errors.
There are lots of blogging mistakes rolling out everyday so this is not the end. I will share some more articles on that topic so please stay tuned.
Don't forget to share your views with me, and share this post with your blogging buddies to create awareness about blogging mistakes.
There are lots of blogging mistakes rolling out everyday so this is not the end. I will share some more articles on that topic so please stay tuned.
Don't forget to share your views with me, and share this post with your blogging buddies to create awareness about blogging mistakes.
Senin, 09 Maret 2015
Submitting Sitemap To Google Webmaster Tools In Blogger
In my previous post I told you how to add a site or blog to Google Webmaster Tools and in the end of the post I said that I will show you how to submit sitemap in Google webmaster tools. So in this post I will show you how to submit blogger sitemap to Google webmaster tools. It is a very important step to submit a sitemap because it helps Google to crawl your links and index them. It doesn't mean that only submitting sitemap is important, robots txt optimization, meta tags optimization, blog title optimization and seo basics are also more important.
Continue reading »
Jumat, 06 Maret 2015
Slide In Menu For Blogger
The title "Slide in menu for blogger" expresses that the menu which I am sharing in this post must slide in when a button is clicked or hovered. Well, this menu is a unique type of menu designed with awesome colors and has a responsive design. How does it work? it is a pure css menu and when it is added to a blog the trigger of menu takes its position automatically no matter what is the blog's width. The trigger holds the top right corner position of blog and floats when the page is scrolled and when the trigger is hovered the menu slides in and covers the whole blog's page, now the blog page looks like it has fade away now only menu options are shown but if the background is focused only a fading background could be seen. Its a very interesting menu for those blog's which have responsive design.
Continue reading »
Kamis, 05 Maret 2015
Add Masonry, Grid Layouts to Blogger Posts with CSS and Javascript
How a website's content is displayed can spell the difference between being popular and obscure. Anything that looks chaotic or hardly readable is never going to be anyone's favorite. This is why content must be displayed in an organized, easy to follow and straightforward manner. Nothing works better than a structured grid, in this case.
Posts listed in grid view provide an excellent viewing experience for both the blogger or website owner and the visitors. This is especially true if the grid comes with images that would play with a person's visual inclination. What is great about grids is the seamless and smooth layout, complemented with a structured yet simple architecture. This makes it easier to navigate through a blog archive or product page. The style also enables a website owner to present posts in a more artistic and informative manner, without delving into the details. Suffice to say that a grid view demands creativity to be effortlessly mixed with functionality.
How views can be switched depends on a number of changes in a blog's codes. Some are fairly easy to implement, while others can be a little complex. Not to worry, as there are guides that will be provided. Grid styles also come in huge varieties, with each one designed to cater to a specific audience. Now, are you ready to go on the grid?
Although changes to the CSS codes have to be made to implement the grid style view and make it compatible with a blog's template, all the work will be worth it once it is up and running.
Important:
Before anything make sure that you backup your Blogger template! If have encounter any problems with your edits, you can revert the template back to its previous condition by restoring it from your backup. For this, go to 'Template' in the left menu > click on the 'Backup/Restore' button in the upper right corner and press the 'Download Full Template' button - choose where you want to save the file on your computer and click the 'Save' button.
Now we can safely proceed with editing our Blogger template. If you run into problems, just revert back to your saved template.
Step 2. Go to "Template" located on the left side of the screen and press the "Edit HTML" button.
Step 3. Click anywhere inside the code area and press the CTRL+F keys to open the search box, then type the following tag inside the box (hit Enter to find it):
Step 7. Now choose one of the styles below, copy the code provided and paste it just above the </head> tag:
Please note that the masonry layout might not work if you have a customized template, also older posts will appear vertically (from top to bottom) instead of left to right.
Step 8. Click "Preview" and if everything looks fine, press the "Save Template" button.
Posts listed in grid view provide an excellent viewing experience for both the blogger or website owner and the visitors. This is especially true if the grid comes with images that would play with a person's visual inclination. What is great about grids is the seamless and smooth layout, complemented with a structured yet simple architecture. This makes it easier to navigate through a blog archive or product page. The style also enables a website owner to present posts in a more artistic and informative manner, without delving into the details. Suffice to say that a grid view demands creativity to be effortlessly mixed with functionality.
How views can be switched depends on a number of changes in a blog's codes. Some are fairly easy to implement, while others can be a little complex. Not to worry, as there are guides that will be provided. Grid styles also come in huge varieties, with each one designed to cater to a specific audience. Now, are you ready to go on the grid?
Features
What features can you expect from a grid style post in Blogger?
- All the posts will follow the grid style when switching to grid view.
- While the codes are being customized, the posts are left untouched. Their length, however, could be changed accordingly.
- Auto Read More will be applied on all posts.
- Thumbnails are automatically added based on the first picture found in each post.
- Code is secure and is used across the board. In fact, 99% of bloggers are using a similar code to enable grid style posts in blogger.
What are the benefits of grid style?
- Quick loading time of posts. Since only the snippets are loaded in certain pages, or a thumbnail and a caption, pulling up a blog archive would be quicker. When loading time is decreased, user experience is greatly enhanced.
- Professional-looking blog. Without the chaos and concerns on readability, a website can look really clean and professional. Combined with the right colors and images, it can also leave a visual impact.
- Improved website ranking. Because visitors have to click in order to view the rest of the post, page views of a site will significantly increase. This makes for a better SEO strategy.
Although changes to the CSS codes have to be made to implement the grid style view and make it compatible with a blog's template, all the work will be worth it once it is up and running.
Important:
Before anything make sure that you backup your Blogger template! If have encounter any problems with your edits, you can revert the template back to its previous condition by restoring it from your backup. For this, go to 'Template' in the left menu > click on the 'Backup/Restore' button in the upper right corner and press the 'Download Full Template' button - choose where you want to save the file on your computer and click the 'Save' button.
Now we can safely proceed with editing our Blogger template. If you run into problems, just revert back to your saved template.
How to Create Masonry, Grid Style Posts in Blogger
Step 1. Log into your Blogger dashboard and click on the blog where you want to apply the grid style.Step 2. Go to "Template" located on the left side of the screen and press the "Edit HTML" button.
Step 3. Click anywhere inside the code area and press the CTRL+F keys to open the search box, then type the following tag inside the box (hit Enter to find it):
</head>Step 4. Now copy the script below and paste it just before the </head> tag:
<script type='text/javascript'>Step 5. Find the following code snippet using CTRL+F or Command + F:
posts_no_thumb_sum = 100;
posts_thumb_sum = 100;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID, pURL, pTITLE){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = posts_no_thumb_sum;
if(img.length>=1) {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'"><img src="'+img[0].src+'" /></a></span>';
summ = posts_thumb_sum;
}
else {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'" title="'+ pTITLE+'"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfNylWAHDwV2rNMmj-Xmit_cW2xsZlW7QE9EmN4cZNKuvJQZ5MIyJILXidCatBE4DRc7LJDSRwqBk5-De_UvUPQ7YCAwQG-lnRw2vpB5B2MV0YtZHVu6bCADxz7UafMMf4CsJF2-1IIcVB/s1600/sorry-image-not-available.png" style="margin-top: -30px;" /></a></span>';
summ = posts_thumb_sum;
}
var summary = imgtag + '<a href="'+ pURL +'"><div class="post-summary-text">' + removeHtmlTag(div.innerHTML,summ) + '</div></a>';
div.innerHTML = summary;
}
//]]>
</script>
<data:post.body/>Step 6. After pressing the "Enter" key on your keyboard, you may find three occurrences of the above code, replace only the second and the third one with this code below:
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>","<data:post.url/>");</script>
<b:if cond='data:post.allowComments'>
<a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:post.numComments/>
</a>
</b:if>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == "static_page"'>
<data:post.body/>
</b:if>
Step 7. Now choose one of the styles below, copy the code provided and paste it just above the </head> tag:
Simple Grid Design
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#blog-pager {
clear:both;
}
.post {
height: auto;
width:30.8%;
overflow: hidden;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding: 0px !important;
}
h3.post-title a {
font-size:75%;
font-family: 'Open Sans Condensed', sans-serif;
text-transform:uppercase;
padding:0;
color:#444;
}
h3.post-title {
height: 26px;
text-align:center;
width:100%;
margin:0!important;
padding-bottom: 4%;
}
.date-header {
display: none;
}
.post-body a {
text-decoration: none;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
color:#777;
font-size:100%!important;
font-family: 'Open Sans Condensed', sans-serif;
text-align:center;
clear:both;
overflow:hidden;
margin:5px 0 0;
padding:7% 10%;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:100%;
font-weight: bold;
right:10px;
position:absolute;
top:165px;
text-shadow:1px 2px 1px #333;
font-family: 'Open Sans Condensed', sans-serif;
}
a.comment-bubble:before {
content: "Comments: ";
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
Grid Layout with Post Summary and Thumbnail
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#blog-pager {
clear:both;
}
.post {
height:auto;
width:31%;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding:0!important;
}
h3.post-title a {
font-size:75%;
font-family: 'Open Sans Condensed', sans-serif;
text-transform:uppercase;
color:#111;
padding:0;
}
h3.post-title {
text-align:center;
height:22px;
position:absolute;
bottom:23%;
width:100%;
z-index:101;
overflow:hidden;
margin:0!important;
padding:10px 0;
}
.date-header {
visibility:hidden;
height:0!important;
width:0!important;
margin:0!important;
padding:0!important;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
border-bottom:3px solid #00C8BD;
border-top:3px solid #558ABB;
}
.posts-thumb:hover {
border-top:3px solid #FF664E;
border-bottom:3px solid #FEBE36;
}
.post-body {
border-radius:2px;
box-shadow:0 0 6px 1px rgba(0,0,0,0.1);
position:relative;
height:auto;
}
.post-body a {
text-decoration: none;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
color:#555;
background:#f5f5f5 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW5rlSRL9pVAFUZWVAuNqm1EQlFumSwVYmt9U4vQT8GzMvOHxK8wRoYVVgZM87j2YAzDIp8u3Qfen3xO1dge3t6LSUYqDQdu9FDYz4L7GavvSLqhyphenhyphenHmXLqq3jgIeReqk8_sjxNhyphenhyphenwFwboV/s1600/blueprint.png);
font-size:100%!important;
font-family: 'Open Sans Condensed', sans-serif;
text-align:center;
clear:both;
overflow:hidden;
margin:5px 0 0;
padding:17% 10% 6%;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:110%;
right:10px;
position:absolute;
top:165px;
text-shadow:1px 2px 1px #333;
font-family: 'Pacifico', cursive;
}
a.comment-bubble:before {
content: "Comments: " url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkVKxMjf6WWhYqgB1kPQzYo3o2dTuDEpFk51FBittMkaxwtDxheJwCaNe9aAY84SAqTBmMXElYy5zAngIfds64jBYX5kDdGVe_hAczNkCb4-zbXQDE_4r3SHDFHCJ95xujB3xvbtl8if1Y/s1600/heart-active.png);
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>
Grid Layout with Text Snippet on Hover
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#blog-pager {
clear:both;
}
.post {
height:auto;
width:31%;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding:0!important;
}
h3.post-title a {
font-size:95%;
font-family: 'Open Sans Condensed', sans-serif;
text-transform:uppercase;
color:#fff;
padding:0;
text-shadow: 2px 2px 3px #222;
}
h3.post-title {
height: 22px;
text-align:center;
position:absolute;
top:1%;
width:100%;
z-index:101;
overflow:hidden;
margin:0!important;
padding:10px 0;
}
.date-header {
visibility:hidden;
height:0!important;
width:0!important;
margin:0!important;
padding:0!important;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
}
.post-body {
border-radius:2px;
box-shadow:0 5px 4px 1px rgba(0,0,0,0.1);
position:relative;
overflow: hidden;
}
.post-body a {
text-decoration: none;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
cursor: pointer;
background-color: rgba(44, 77, 163, 0.8);
color:#fff;
font-size:120%!important;
font-family: 'Open Sans Condensed', sans-serif;
clear:both;
overflow:hidden;
padding:25% 10% 0%;
left: 0;
position: absolute;
text-align: center;
vertical-align: bottom;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
top: 0;
transform: scale(1);
opacity: 0;
z-index: 10;
height: 100%;
transition: all 300ms ease-out 0s;
}
.post-summary-text:hover {
opacity: 1;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:100%;
width: 100%;
text-align: center;
position:absolute;
top:165px;
left: 0px;
text-shadow:1px 2px 1px #333;
font-family: 'Pacifico', cursive;
z-index: 122;
}
a.comment-bubble:before {
content: "Comments: ";
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>
Masonry Layout (Pinterest Like Grid)
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType!= "item"'>
<style>
#blog-pager {
clear: both;
position: absolute;
bottom: 0px;
left: 0px;
}
.blog-feeds {
display: none;
}
.post {
height: auto;
width: 100%;
padding: 0px !important;
margin: 0px 0px 30px;
display: inline-block;
text-decoration: none;
}
h3.post-title a{
font-size: 95%;
font-family: 'Open Sans Condensed', sans-serif;
text-transform: uppercase;
padding: 0px;
color: #fff;
text-shadow: 3px 2px 2px #222;
font-weight: bold;
}
h3.post-title, .comments h4 {
margin: 0px !important;
text-align: center;
padding: 10px 0px;
position: absolute;
top: 10px;
width: 100%;
z-index: 200;
}
.post-header {
display: none;
}
.date-header {
visibility: hidden;
height: 0px !important;
width: 0px !important;
padding: 0px !important;
margin: 0px !important;
}
.posts-thumb {
width: 100%;
height: auto;
overflow: hidden;
clear: both;
}
.post-body {
overflow: hidden;
position:relative;
}
.post-body a {
text-decoration: none;
}
.post-body img {
display: block;
width: auto;
height: auto;
max-width: 100%;
max-height: none;
min-width: 100%;
min-height: auto;
margin: 0px;
padding: 0;
border: none;
outline: none;
position: relative;
}
.post-summary-text {
cursor: pointer;
background-color: rgba(44, 77, 163, 0.8);
color:#fff;
font-size:120%!important;
font-family: 'Open Sans Condensed', sans-serif;
clear:both;
overflow:hidden;
padding:25% 10% 0%;
left: 0;
position: absolute;
text-align: center;
vertical-align: bottom;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
top: 0;
transform: scale(1);
opacity: 0;
z-index: 10;
height: 100%;
transition: all 300ms ease-out 0s;
}
.post-summary-text:hover {
opacity: 1;
}
.post-footer {
display: none;
}
a.comment-bubble {
color: #fff;
text-decoration: none;
font-size: 120%;
right: 5px;
z-index: 222;
position: absolute;
top: 5px;
text-shadow: 1px 2px 1px #333;
font-family: 'Open Sans Condensed', sans-serif;
}
a.comment-bubble:before {
content: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkVKxMjf6WWhYqgB1kPQzYo3o2dTuDEpFk51FBittMkaxwtDxheJwCaNe9aAY84SAqTBmMXElYy5zAngIfds64jBYX5kDdGVe_hAczNkCb4-zbXQDE_4r3SHDFHCJ95xujB3xvbtl8if1Y/s1600/heart-active.png);
}
.main-inner .column-center-inner {
-moz-column-count: 3;
-moz-column-gap: 1px;
-webkit-column-count: 3;
-webkit-column-gap: 1px;
column-count: 3;
column-gap: 1px;
width: 100%;
padding: 0px !important;
}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
Please note that the masonry layout might not work if you have a customized template, also older posts will appear vertically (from top to bottom) instead of left to right.
Step 8. Click "Preview" and if everything looks fine, press the "Save Template" button.
That's it!
Implementing a grid style view has its pros and cons, but the benefits clearly outweigh the disadvantages. The fact that a website will look visually appealing and professional when set in grid style, is already enough to boost its online reputation. An increase in page views is just the beginning. With the right images and content, a blog will also have better SEO. Most importantly, implementing the changes is not as complex as some might think. With a step-by-step guide available, adding a dynamic view switcher would be completed in no time.How To Add Your Blog To Google Webmaster Tools
Google webmaster tools are very beneficial tools provided by Google for webmasters and bloggers. Using Google webmaster tools is the first and the most important step to be a successful blogger. It helps you to generate "organic traffic" for your blog. Organic traffic means the traffic which you get from search engines. With Google webmaster tools you can control your search engine results in other words Google webmaster tools allow you to make your blog Seo friendly. Google webmaster tools are easy to use and works fast, but as a beginner its not easy for anyone to use these tools. So today in this post I will show you how to start using Google webmaster tools.
Continue reading »
Responsive Social Sharing Buttons For Mobile
Mobile phones and tablets is one of the major source for a blog's and site's traffic now a days. A blog receives 40% traffic from mobile phones and that's the reason why bloggers are enabling ads in mobile view so that they could earn money from mobile visitors also. Since usage of mobile for reading blogs is increase day by day therefore bloggers and webmaster are enabling gadgets for mobile view also such as related posts widget to get more page-views and social media buttons to get shares on social media. Previously I have create a post about enabling gadgets in mobile view in blogger but in some blogs it do not work therefore in this post I will show you how to add share buttons to mobile view in blogger that floats at the bottom of mobile screen. You can add follow buttons also beside share buttons and set the position of your share/follow buttons to top of the mobile screen.
Continue reading »
Langganan:
Postingan (Atom)