Mahmood Yaqub

Avatar

Add Vertical Scroll to Wordpress Widgets

Looking to add a vertical Scroll to your text & links widgets, or your category & recent post widget - to avoid & trim the long lengthy pages?

Simply add this code
<div style="width:160px;height:320px;overflow:auto;">
[various links]
</div>

As an example i just added a vertical scroll to Khazana Online under Browse Collection, the file i edited was sidebar.php

<h4>Browse Collections</h4>
<div style="overflow:auto;height:200px;">
<ul>
<?php wp_list_categories('title_li='); ?>
</ul>
</div>

Have Fun Sharing!