Is it possible to change labels or Categories in blogger into Dropdown menu ? … Yes, it is possible to change. If you have large number of labels than visitor’s need to scroll down your blog to see the labels. Archive in blogger can be set Dropdown menu, but the labels widget does not have this facility. Below image shows how it looks after labels converted to Dropdown menu.
1. Login in to your Blogger Dashboard.
2. Go to Layout >> Edit HTML
3. Backup your template first ( Click on Download Full Template )
4. Find following code
Tip :- To track following code fast find (<data:label.count/>) first.
<ul>
<b:loop values=’data:labels’ var=’label’>
<li>
<b:if cond=’data:blog.url == data:label.url’>
<data:label.name/>
<b:else/>
<a expr:href=’data:label.url’> <data:label.name/> </ a>
</b:if>
(<data:label.count/>)
</li>
</b:loop>
</ul>
5. Replace above code with following one
<br/>
<select onchange=’location=this.options[this.selectedIndex].value;’>
<option> Select a label </option>
<b:loop values=’data:labels’ var=’label’>
<option expr:value=’data:label.url’> <data:label.name/>
(<data:label.count/>)
</option>
</b:loop>
</select>
6. Change sentence in red with your one.
If you like this post feel free to Subscribe to our RSS Feed or Email Subscription





