Wednesday, September 12, 2007

How to remove date from blogger

Can't make it work yet though!

This is just for blogger by the way.

1) Log into your Blogger blog
2) Click the Template tab
3) Click the 'Edit HTML' link
4) Now the tricky bit....

What you see he is the HTML template of your blog along with all the CSS which controls the colours, look & feel and so on. Try not to worry if it looks like a load of gobbledegook!

You'll need to scroll down quite far to the HTML part (CSS is at the top) and this is what you need to edit. Do a search for <BlogDateHeader>. This is called a placeholder tag and when you post your pages this is replaced by the actual date. You want to comment out this whole section.

You start with this:

<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>

And to comment that out you do this:

<!--
<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>
-->

The <!-- and --> are start and end comment tags.

I also did the same thing to remove the 'posted by' section because it puts my real name on their as I have several other Blogger blogs and I don't especially want my real name on this site yet. This was the bit I commented out for that:

<!--
<em><$I18NPostedByAuthorNickname$> @ <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a></em>  
-->



Powered by ScribeFire.

11 comments:

supdirtbag said...

Or you can just change the 90% in the size to 0%...works more efficiently.

Grindboy said...

A really easy way is to find "DateHeaderColor" and change the Hex values to the same as your background

iL said...

hello!
do you know how to remove the blogger's name on
blogspot?? the one will the "posted by NAME:"

thanks!

auto said...

I think the easiest way is to go to layout and open up the 'post' widget and you get a choice of what to include or not with the post so no date, post by or whatever etc, I found out accidentally.

J said...

AUTO YOU RULE!!!

Thanks for the tip!!!!!

kusf-archives.com

Bryan

Mischievous Monk said...

Here is how you do it guys.

Goto Layout

Click "Edit HTML"

Search for

h2.date-header {
margin:1.5em 0 .5em;
}

Add this script in between

display: none !important;

Your date is gone....

Enjoy and have fun. Do visit my blog sometime. http://kharmakzee.blogspot.com

dom said...

Thank You Holy Devil - Worked like a charm.

super iota said...

Holy Devil's tip worked instantly and did not make my head hurt trying to figure it out. THANK you making this SO EASY! (clapping)

Wonder if I can do the same thing to remove the "post by", "labels" and "comments"? (once I actually identify the areas in the html - I am a little out of my element with the html stuff, but willing to give it a try. Any pointers like this would be great!)

(I am using blogger to create a temporary portfolio site and am stripping it to the bare minimums.)

super iota said...

http://www.youtube.com/watch?v=MbMNhAGJNq4&NR=1

Watch this video. Because it visual, it makes sense of the comments people posted prior for those of us who are not up to speed with all this. This is VERY simple! No html.

Mischievous Monk said...

@ super iota You are welcome. I can surely help your get rid of all the things that you have mentioned in your comment.

1. Post by
2. Labels
3. Comments

Will update my blog Kharmakzee's Kool Fundas with the solution. Do keep checking

Covert Hypnosis said...

For those none techie people:

On your dashboard go to:

Design

On the blog post page element, click edit and choose what you don't want to show up on your blog.

No need to edit your html.

Enjoy!


coverthypnosisart.blogspot.com