-->

Giving way Scroll to the Blog Archive



Blog  archive or the archives that use a hierarchy of options will typically elongated, irregular, according to the number of articles that we publish each month (could be weekly, depending on our choice).

Of course this will be a little annoying because of the appearance of your blog sidebar length becomes erratic. That need to be made to scroll to the length of stay within the rules we make.

This method is not much different from giving a scroll on the label by entering the code style = "overflow: auto; height: 200px '

nah probably still in confusing? There deh straight into the tutorial:
1. Login Blog
2. Draft -> Edit HTML -> Check the Expand Widget Templates
3. Find the code below (NB: There should be a first label widget)
4. Press Ctrl + F to make it easy to find
5. Find the code below and
6. Enter the code in red as shown below:
<h2> <data:title/> </ h2>
</ b: if>
<div class='widget-content'>
<div style='overflow:auto; width:ancho; height:200px;'>
<div id='ArchiveList'>
<div expr:id='data:widget.instanceId + "_ArchiveList"'>
<b:if cond='data:style == "HIERARCHY"'>
<b:include data='data' name='interval'/>
</ b: if>
<b:if cond='data:style == "FLAT"'>
<b:include data='data' name='flat'/>
</ b: if>
<b:if cond='data:style == "MENU"'>
<b:include data='data' name='menu'/>
</ b: if>
</ div> </ div>
</ div>
<b:include name='quickedit'/>
</ div>
</ b: includable>


NB:
adjust the numbers as you wish buddy 200px (height to set the scroll box)
There may be at a different friend tempate meal out of it looking for similar code "as in the above code.


7. Save Template ... and try to see the results .....

Good Luck ...



Related Posts

Posting Komentar

Subscribe Our Newsletter