Many bloggers might find labels below posts (or post titles) unnecessary, as long as they are already in the blog's sidebar. In this tutorial we will learn how to remove them manually. To hide labels from the blogger post footer (or below post title), you could simply uncheck the "Labels" option, however, sometimes this setting might not work properly in certain templates and then we'll have to remove it manually from our template.
How we going do this?
Hide labels from Blogger
Step 1. Click on the 'Template' option and then go to the 'Edit HTML' button.
To ensure that you won't lose or delete something, it is advisable to make a backup of your current template. To do this, click on the Backup/Restore button on the right top corner:
...and then click on the Download full template button:
Step 2. After you clicked on the Edit HTML button, select the 'Expand Widget Templates' option for expanding the CSS code.
Step 3. Now find the following code snippet (press CTRL+F and paste the code in the search box):
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
Step 4. And delete it.
Step 5. Click on the Save Template button. You're done ;)
{ 0 comments... read them below or add one }
Post a Comment