Hello Folks,Today inwards this article nosotros are going to explicate a How to Add a Smooth label Categories Widget inwards blogger template.This widget is really useful for labels of blogger website or blog.If your template practice non convey a drib downwards business office on category too thus it's really difficult to display all the categories of the website.In this label gadget all the category of your weblog comes nether it too yous tin flaming present all the topics,categories too sections of your website.However yous tin flaming encounter nevertheless thus many websites does non convey drib downwards label widget.Few days dorsum i of our precious visitor asked for drib downwards widget too today nosotros are hither amongst this awesome label widget.We convey used CSS to await widget to a greater extent than beautiful too roughly html to brand function perfect.So to conduct handgrip of this blogspot label widget follow the steps mentioned below.
How to practice a drib downwards label bill of fare inwards blogger template
installations steps:
Step 1. Log inwards to your Blogger draw of piece of job organisation human relationship too Go to your Blogger Dashboard.
Step 2. Now Click on -> Template -> Edit HTML.
Step 3. Now Search for the next below code inwards your template.
Step 5. Now Search for ]]></b:skin> or </style> by Pressing Ctrl+F keys or CMD + F (Mac)
Step 6. Copy the below CSS code too glue it simply earlier the ]]></b:skin> or </style> tag.
Step 2. Now Click on -> Template -> Edit HTML.
Step 3. Now Search for the next below code inwards your template.
<ul>Step 4. Now Replace all of the inwards a higher house code amongst the next below code.
<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>
<div class="dropdownlabel">
<select class="dropdown-select" onchange='location=this.options[this.selectedIndex].value;'>
<option> Search Category </option>
<b:loop values='data:labels' var='label'>
<option expr:value='data:label.url'>
<data:label.name/> (
<data:label.count/>)
</option>
</b:loop>
</select>
</div>
Customization:
To alter the Search category amongst your desired squall similar pick out category etc. alter the inwards a higher house highlight text.
Step 5. Now Search for ]]></b:skin> or </style> by Pressing Ctrl+F keys or CMD + F (Mac)
Step 6. Copy the below CSS code too glue it simply earlier the ]]></b:skin> or </style> tag.
/* Dropdown Label widget past times www.bloggersstand.com */Step 7. Now Save your Template...Done !
.dropdownlabel select{outline:none;cursor:pointer}
.dropdownlabel{display:inline-block;position:relative;overflow:hidden;width:100%;background:#fff;border:1px corporation transparent;border-radius:3px;height:36px;line-height:36px;color:#444}
.dropdownlabel:before,.dropdownlabel:after{content:'';position:absolute;z-index:2;top:13px;right:12px;width:0;height:0;line-height:36px;border:4px dashed;border-color:#888 transparent;pointer-events:none}
.dropdownlabel:before{border-bottom-style:solid;border-top:none}
.dropdownlabel:after{margin-top:8px;border-top-style:solid;border-bottom:none}
.dropdown-select{position:relative;width:100%;margin:0;padding:6px 8px 6px 10px;height:36px;line-height:18px;font-size:12px;color:#62717a;text-shadow:0 1px #fff;background:#f2f2f2;background:rgba(0,0,0,0)!important;border:0;border-radius:0;-webkit-appearance:none}
.dropdown-select>option{margin:3px;padding:6px 8px;text-shadow:none;background:#f8f8f8;outline:none;border:0;border-radius:3px;cursor:pointer}
No comments:
Post a Comment