Friday, June 6, 2008

Easiest way to remove blog post date

It is not so important to remove post date from your blog but some bloggers like to remove the post date . So keeping their word in mind we are writing this simple blogger hack to hide post date.

Deleting code from your blog is not only the solution to hide blog post date.You may need that code someday.So if you like to remove the post date from your blog without removing any code then goto your blog Edit html Page and following the cool steps below.

First of all search for the following lines of code in your Template.
h2.date-header {
margin:1.5em 0 .5em;
}
Now replace the above code with the following code .
h2.date-header {
margin:1.5em 0 .5em;
display:none;
}
In this hack we have added a simple line display:none; in the code . The function of this line to hide the object in which you have used this tag. You can hide your sidebar ,header and other objects by adding this simple line in the code.

If you have used the hack to show only post title at archive and label Pages then after you perform this hack then the post date will also be hidden at label and archive pages.

5 comments:

  1. Thank you sooooooooooooooo much!!! Very easy...I tried to remove a code to get the same result but wasn't able to, I couldn't find the code...this was way better.

    ReplyDelete
  2. doesnt work, there is no such code

    ReplyDelete
  3. I don't have that code either, however I found that it works if I paste that code at the end of this section of code:

    .post .date {
    margin: 0 0;
    padding: 5px 0 0 25px;
    background:transparent ;
    font: normal 12px "verdana", Arial, sans-serif;
    color: #990000;

    ReplyDelete