23 October 2012

Fix the position of the Blog Widgets


When we scroll  the blog page our right side widget get scroll to up.
If you want to fix the position of all the Widgets so if we scroll the
page Widget stay there at the same position.

1. go to the "Design" -> "Edit HTML"
2. If warning is there click on "Proceed"
3. Find the "/* Footer"













4. Paste following lines before the "/* Footer"

        /* Fix the position of all side bars
            by - Deepak  Sharma
           MyTacTics.blogspot.com
        ----------------------------------------------- */
        #sidebar-right-1
        {
            position:fixed;
            width:220px;
            top:60px;
        }





   















5. You can change the "width" and "top" attribute as per requirement.
    stay connected and enjoy.. :)

1 comment:

  1. But remember If you do this, It will create a problem for you. If in Post Hierarchy, number of posts are more which is more than the height of the screen, then you can not scroll up and click the post those are hidden.
    :)

    ReplyDelete