1.Log in to your dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see this :
4.Add below code before ]]></b:skin> tag.
padding-left:20px; padding-top:5px; } |
5.Now add below code between ]]></b:skin> and </head> tags.
function changeFontSize(inc) { var p = document.getElementsByTagName('p'); for(n=0; n<p.length; n++) { if(p[n].style.fontSize) { var size = parseInt(p[n].style.fontSize.replace("px", "")); } else { var size = 12; } p[n].style.fontSize = size+inc + 'px'; } } </script> |
6.Now again scroll down to where you see this :
7.Add below code immediately after above line.
Text Size :<a href='javascript:changeFontSize(1)'> [+]</a> | <a href='javascript:changeFontSize(-1)'> [-]</a> </span> |
8.Now save your template and you are done.
0 comments:
Post a Comment