Create a Beautiful Drop Down label

Comments: 2
data:blog.title
Blogger Hack
A label widget is using from the beginning of blogger site. Label widget gives the visitors an effective way to get access in all contents of blog site. By default in blogger it displays post labels as "Lists" or "Cloud" only. But it occupies a lot of space in blog's side bar. Even if you place it in body then it will look very unusual. So we will learn how to make a beautiful drop down label in blogger templates sidebar. Assume that you have already added label in your blogger templates. 


Step 1 Log in to your Blogger account


Before proceeding Make sure that you have back up your templates

Step 2 Go to your Blogger Dashboard and click on -> Template -> Edit Html -> 

Proceed

Do not Expand widget Templates

Step 3 Now Find the below code by Pressing Ctrl+F.


<b:widget id='Label1' locked='false' title='Labels' type='Label'>

Step 4 Now Replace the above code by the below code.


<b:widget id='Label1' locked='false' title='Labels' type='Label'>

<b:includable id='main'>

<b:if cond='data:title'>

<h2><data:title/></h2>

</b:if>

<div class='widget-content'><select style='width:100%' onchange='location=this.options[this.selectedIndex].value;'><option>Click to choose</option>

<b:loop values='data:labels' var='label'>

<option expr:value='data:label.url'><data:label.name/>

(<data:label.count/>)

</option>

</b:loop>

</select>

<b:include name='quickedit'/>

</div>

</b:includable>

</b:widget>
  


Step 5  Now Save your templates and check visit your blog for result. That's it. You are done. 

 

Speak Your Mind

Not work my blog show error massage

Could not load template preview: Error parsing XML, line 809, column 13: The element type "b:section" must be terminated by the matching end-tag "".

I can't check your blog template code because after entering into landing page its redirecting to Adfly.

Another way..kindly send me a backup copy of your template I will add Dropdown label and send back to you. Thanks

Facebook Group Community Code ConverterHide Code Converter Show EmoticonHide Emoticon

If you Got questions? Ask ’em below! While we’re here, you might like to leave a comment and let me know if you have any stories or questions.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form

Name

Email *

Message *