Blogger Forums » Blogger Widgets

Height Fixer for Blogger

(7 posts)
  1. hetalpatil

    member
    Joined: Jul '09
    Posts: 23

    Hello Aneesh,

    As discussed in http://www.bloggerplugins.org/2009/08/height-fixer-for-blogger.html comment section i need exact code for fixing height for all three columns of my blog.

    With your help i could change background of sidebars.

    Hetal Patil
    http://experienceswithshirdisaibaba.blogspot.com/

    Posted 2 years ago #
  2. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    <script type='text/javascript'>
    <!--
    onload=function() {

    var mh = document.getElementById('main-wrapper').offsetHeight;
    var sh = document.getElementById('sidebar-wrapper').offsetHeight;
    var nsh = document.getElementById('newsidebar-wrapper').offsetHeight;
    if(sh>mh) mh=sh;
    if(nsh>mh) mh=nsh;
    document.getElementById('newsidebar-wrapper').style.height = document.getElementById('main-wrapper').style.height = document.getElementById('sidebar-wrapper').style.height = mh+ 'px'
    }
    //-->
    </script>

    Put this code into this parser and parse it.. And that parsed version is your final code..
    When you add this to the head section of your template,you should get all those columns to be of the same height..

    Posted 2 years ago #
  3. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    test post

    Posted 2 years ago #
  4. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    another test post

    Posted 2 years ago #
  5. hetalpatil

    member
    Joined: Jul '09
    Posts: 23

    Hello Aneesh,

    Thanks for code. It has worked well.

    Hetal Patil
    http://experienceswithshirdisaibaba.blogspot.com/

    Posted 2 years ago #
  6. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    nice.. how is my new look?

    Posted 2 years ago #
  7. hetalpatil

    member
    Joined: Jul '09
    Posts: 23

    Hello Aneesh,

    Its similar to ur blog. I just love ur blog n postings. U take up those points where i always find drawback of blogger. Too Good

    One question : Cn i not get a password of my own for this forum? The one provided is confusing.

    Anyways...If possible do visit my blog and suggest me for improvement.

    Hetal Patil
    http://experienceswithshirdisaibaba.blogspot.com/

    Posted 2 years ago #
  8. aneesh

    site admin
    Joined: Jul '09
    Posts: 244

    yes yes offcourse!! you can change almost everything!!
    Just go and edit your profile.. You can also add an avatar if you like.. By default the gravatar associated with your email will be used(if there is any!)

    You will find this link in your profile page.. or just use this link..

    you can get a detailed review on the reviews section !!

    Posted 2 years ago #
  9. krevka

    new member
    Joined: Nov '10
    Posts: 1

    Hello, I´m trying to fix my blog issue - columns height. I tried the code above, but it is not working... Could you please check my xml and advise?

    http://www.megafileupload.com/en/file/283212/template-2731715177415840211-xml.html

    I have 3 column blog made of 2 column template. I tried to adjust the heigh manually by adding ,,heigh: xxxx pixels" to main, right and left sidebar-wrapper, but it is working only particulary - the columns are the same height but the text of posts is longer then the main wrapper, so by fixing one issue another appeared. any idea? I am beginner.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.