Min menu

Pages

Hot

How to Show Post Title Only on Home Page in Blogger

I will explain to you in this tutorial how to show post title only in the Home page in your blogger blog. this a simple code works on show titles only and is not a title and post together, where the title appears on the home page of the blog just by clicking on it redirects to the main post, and to be able to install this code in your blog, follow these simple steps:

1. Login to your Blogger Dashboard > Template
2. Download a copy of your template
3. Now click on Edit HTML
4. Use Ctrl + F to find </head> and paste the following code above/before it.
<style type='text/css'>

<b:if cond='data:blog.url == data:blog.homepageUrl'>

.post {
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.0em;
height:50px;
}
.post h3 {
margin:.25em 0 0;
padding:0 0 4px;
font-size:20px;
font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
font-weight:normal;
line-height:1.4em;
color:#cc6600;
}

.post h3 a, .post h3 a:visited, .post h3 strong {
display:block;
text-decoration:none;
color:#cc6600;
font-weight:normal;
}

.post h3 strong, .post h3 a:hover {color:#333333;}

.post-body {display:none;}
.post-footer {display:none;}
.comment-link {display:none;}
.post img {display:none;}
.post blockquote {display:none;}
.post blockquote p {display:none;}
h2.date-header {display:none;}
.post-labels {display:none;}
.post-rating {display:none;}

</b:if>

</style>
5. Finally, click on Save the template.
Enjoy and happy blogging! ;)
reaction:

Comments

14 comments
Post a Comment
  1. What if I want it like you've got? I mean with a little piece of the body of the post and with an image of the post?

    ReplyDelete
    Replies
    1. Yeah, this is found in template,There are many templates that suits you.

      Delete
    2. i dnt get it..how should i do it in template?

      Delete
  2. hi , it was very useful thanks i wanted to ask another question, how can i show only post title in the label page too? thanks

    ReplyDelete
  3. its not working!! when i applied it, all my post got vanished, nothing was there except the widgets??
    help please.

    ReplyDelete
  4. it's Not Working Now

    ReplyDelete
  5. do you know how to show all the post titles in alphabetical order on main page in blogger?

    I tried the above trick and it worked, thanks, but I want to make them in alphabetical order and show all the post titles on the main page.

    ReplyDelete
  6. Pls how do i make it display on post title in the labels?

    ReplyDelete
    Replies
    1. Follow this:
      http://www.bloggersentral.com/2009/06/showing-title-only-in-archive-label-and.html

      Delete

Post a Comment