Saturday, March 1, 2014

Add Custom Post Footer


Yesterday, I share many post about "How to Remove ....?".
Today, I share "How to Add ...? . :)
For customize the Blog, there are many way To Change, To Remove, To Add, To Edit and To Hide. Many Bloggers are share in there blog about that. I also sharing the Testing Code for Customizing the blog by test my Blog "www.mmblogchitthu.blogspot.com" .

Now, I'm going to share you how to add a custom post footer in your blog. It looks beautiful, attractive and very cool. I'm sure you guys will like it! This new footer has a really beautiful design. It specifies Post Author name, Publication date or time and number of comments. And here lies the good thing. It also has beautiful icons.

Start my sharing with step by step;

Steps

1. Log in to your blogger account
2. Go to Template >> Click Edit HTML
3. Using Ctrl+F  search for this tag:(Click anywhere inside the editor and press CTRL + F.)
]]></b:skin>
4. Just paste the following code above ]]></b:skin>.
.post-footer {
display: none !important;
}
Note : This code is to Hide/Disable your default Post footer. I share about "Post Footer Section Fully Remove from Blog" . If your do it and your blog have no post footer, you do not create this step(4).
5. Again make by pressing CTRL + F and search this code in your template;
<div class='post-footer'>
Note : Upon your Template style, you can see two or three time this code. Any, move towards the second one.
6. Paste the following code above that match (the second <div class='post-footer'> match in the search).
<style>
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
@import url(http://fonts.googleapis.com/css?family=Lato);
.postmeta-primary {float: left;text-transform: capitalize;font-family: &#39;Lato&#39;, Arial, sans-serif;margin-top: 20px;width: 100%;border-top: 1px solid #ddd;border-bottom: 1px solid #ddd;padding-top: 10px;padding-bottom: 10px;}
.postmeta-primary .fa {margin-right: 10px;}
.postmeta-primary a{text-decoration: none;}
.author2, .meta_date, .meta_comments {margin-right: 10px;padding-right: 10px;border-right: 1px solid #ddd;}
.author {text-transform: uppercase;}
.icon-user:before {content: &quot;\f007&quot;;}
.icon-calendar:before {content: &quot;\f073&quot;;}
.icon-comments:before {content: &quot;\f086&quot;;}
[class^=&quot;icon-&quot;], [class*=&quot; icon-&quot;] {font-family: FontAwesome;font-weight: normal;font-style: normal;text-decoration: inherit;-webkit-font-smoothing: antialiased;position: relative;}
</style>
<div class='postmeta-primary'>
<span class='author'><i class='fa icon-user'/><a expr:href='data:post.authorUrl' rel='author' target='_blank'>
<data:post.author/></a>
</span>
<span class='meta_date'><i class='fa icon-calendar'/><a><data:post.timestamp/></a></span>
<span class='meta_comments'><i class='fa icon-comments'/>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 0'>No Comments<b:else/> <b:if cond='data:post.numComments == 1'><data:post.numComments/> Comments<b:else/><data:post.numComments/> Comments</b:if> </b:if></a>
</b:if>
<div style='clear: both;'/>
7. Now , Save your Template and View your change.
Read More »

Friday, February 28, 2014

Remove or Hide Post Footer from Desire Pages

rev
I am learning more about of remove or hide the footer section of blog. Mostly, we customize our blog template to get more attention from visitors, like trying out stylish widgets, using different font styles etc. But sometimes we think, how to change the way some components appear on homepage, such as default Post Footer. Actually, its better to show it only at post pages.
Jump breaks (Read more) are great because they allow you to display snippets of blog posts on your home page. But if you are a blogspot user then Unfortunately, by default it displays the footer for each post, which really clutters up your home page.
Don't worry, I have the good news as follow;
  1. Remove or Hide Post Footer from Homepage/Index Page
  2. Remove or Hide Post Footer from Post and Static Pages
Now, I sharing about this step-by-step;

(1) Remove or Hide Post Footer from Homepage/Index Page

Sometime you may feel, its better to show it only at post pages but not on homepage. Did you land here with that thought in your mind? Then you can learn it from here. There is no option provided by Blogger to remove you Post Footer but customize. So to remove or hide Post Footer from you blog Homepage, you have to dig into your template.
Note: Before editing your template, you may want to backup or copy of it.

Steps

1.Go to Blogger Dashboard >> Template >> Edit HTML.
2.Now press Ctrl+F and find this
]]></b:skin>
3.Now paste the below given code after ]]></b:skin>
<style type='text/css'>
<b:if cond='data:blog.pageType == "index"'>
.post-footer {display:none !important;}
</b:if>
</style>
4. Preview your blog to confirm changes and Save template.

(2) Remove or Hide Post Footer from Post and Static Pages

If you are like to disable your post footer from other pages while keeping it on homepage, you can try below method.

Steps

1.Go to Blogger Dashboard >> Template >> Edit HTML.
2.Now press Ctrl+F and find this
]]></b:skin>
3.Now paste the below given code after ]]></b:skin>
<style type='text/css'>
<b:if cond='data:blog.pageType != "index"'>
 .post-footer {display:none !important;}
 </b:if>
 </style>
4. Preview your blog to confirm changes and Save Template.
 This is my ending of sharing. If you get any helpful, please re-share this post.
Thank!
Read More »

Post Footer Section Fully Remove from Blog

remove-footer
The Post Footer that is set by default in Blogger looks very ugly! Even if the whole blog is beautifully designed but the post footer isn't good then it would make a very bad impression.
Post Footer are useful in blogs, but when you get more professional in blogging you will find that it's not important. Visitors get the information of Author from this. Most of the professional blogger has removed it and in place of it they put their own sharing buttons.
I am not a professional blogger but I sharing the codes which is Remove the post footer section.
I have no idea about CSS and HTML, but I test all about of this post in my blog. When you are new to blogger you want to customize your blog according to your choice such as add a stylish menu bar for your blog, Customize your post footer options and much more.
(I sharing about How to Remove Post Footer from Homepage/Index Page at next post.)
OK! Start my work :)

Remove Post footer from Blog

This can be easily done by CSS, a small code of CSS can hide anything on your page.
  1. First go to Blogger Dashboard >> Template >> Customize >> Advanced >> Add CSS
  2. To remove the post footer we will add this small line of CSS code in the  custom CSS text area.
.post-footer
{
display: none;
}
Now, click Apply to Blog (at right corner) and View Blog.
Your Blog will look more neat and clean :) .

I test the other way for Remove Post footer from Blog as follow;
Step 1 : Go to Blogger Dashboard
Step 2 : Click on Template
Step 3 : Click on Edit HTML
Step 4 : Search this code
.post-footer {
add below code after above code
display: none;
Step 5 : Click on Save Template.
Now go to your blogger blog and check post footer in your blogger.
This is all my sharing. If you get any helpful , re-share my post :)
Thank!
Read More »