One of the things that users are now able to do after the improvements made to Blogger’s template HTML editor a couple of weeks ago is that they can now relocate the date of the blog post directly right below the post title.
To do this is quite simple. Just follow the steps below.
- In your dashboard, go to Template and then click on Edit HTML.
- Click on the Jump to widget drop-down list button then choose Blog1.
- This will take you to a line indicated with the new fold markers ‘►’, click on it to expand the widget code.
- Click on the ‘►’ symbol of the line that says
<b:includable id=’main’ var=’top’>=</b:includable>
- Inside the main includable you’ll find the block of code that renders the post date:
<b:if cond='data:post.isDateStart'> <b:if cond='data:post.isFirstPost == "false"'> </div></div> </b:if> </b:if> <b:if cond='data:post.isDateStart'> <div class="date-outer"> </b:if> <b:if cond='data:post.dateHeader'> <h2 class='date-header'><span><data:post.dateHeader/></span></h2> </b:if> <b:if cond='data:post.isDateStart'> <div class="date-posts"> </b:if>
- Cut it and move it just below this line:
<div class=’post-header-line-1’/>
- Click on the new Preview template button to check the changes you’ve made.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.
Hi, thanks for sharing.
ReplyDeleteI can't seem to find that little arrow on the left when I jump to widget blog 1.
I have arrows on the left for other parts of my code but not where you say it should be.
Any help would be greatly appreciated.
Doesn't work for me. It completely removes the date, and also places all my widgets elsewhere without their titles!
ReplyDeleteThis comment has been removed by the author.
DeleteYou have to put it under the 2nd occurrence of "div class=’post-header-line-1’".
DeleteHi Ricardo...I was able to move the date to below the post title, but now I have space between the title and the date which I don't want. Can you help me fix this? Thank you
ReplyDeletehttps://rollingeranch.blogspot.com/