Forums

footer alignment problem (11 posts)

  1. Anonymous
    Unregistered
    Posted 1 year ago #

    sample page: http://fehmi.ozuseven.com/a16/2008/08/03/unsleeping/

    Why my footer don't align at the bottom?

    my css

    #footer (line 366)
    {
    padding-bottom: 0pt;
    height: 45px;
    width: 100%;
    clear: both;
    background-color: white;
    position: relative;
    bottom: 0pt;
    }

    but anytihng happen

    when i try "position: absolute;" its works for just short pages
    but this time footer display on contents at long pages

    i hope i explain that

  2. iridiax
    Member
    Posted 1 year ago #

    You have errors in your code and css that can affect proper display. Also, replace 0pt with 0 and get rid of:

    position: relative;
    bottom: 0pt;
  3. Anonymous
    Unregistered
    Posted 1 year ago #

    i tried but doesn't work

  4. Anonymous
    Unregistered
    Posted 1 year ago #

    anyone help?

  5. moshu
    Member
    Posted 1 year ago #

    Don't start new topic about the same question. It gets deleted!

  6. Anonymous
    Unregistered
    Posted 1 year ago #

    ok

  7. JohnJm
    Member
    Posted 1 year ago #

    I have the same trouble with footer position on long post...

  8. JohnJm
    Member
    Posted 1 year ago #

    its my template... but where....

  9. bill_g
    Member
    Posted 4 months ago #

    I've got the same problem, if you view my blog at http://theisleofavalon.com my footer text is all over the place I am going to try and copy the whole footer.php file in this message.

    What I am trying to do is to get all the text to centre in the footer but nowhere can I find the place to add or alter the text alignment to centre from the mess it is now

    Can anyone please help resolve this it is driving me slightly loopy :)

    The full footer .php is copied below and my site address is http://theisleofavalon.com

    Thank you!

    <div class="Footer"><div class="Footer-inner"><div class="Footer-text">
    <p>
    <?php
    global $default_footer_content;
    $footer_content = stripslashes(get_option('art_footer_content'));
    if ($footer_content === false) $footer_content = $default_footer_content;
    echo $footer_content;
    ?>
    </p>
    </div></div>
    <div class="Footer-background">
    </div></div></div></div>
    <div class="cleared"></div>
    <p class="page-footer">
    " title="<?php bloginfo('The Wandering Glastofarian'); ?>"><?php bloginfo('The Wandering Glastofarian'); ?> Seeking the Grail.</p>
    Trademarks | Privacy Statement
    Copyright © 2009 The Wandering Glastofarian. All Rights Reserved.<p>
    </div>
    <!-- <?php printf(__('%d queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0, 3)); ?> -->
    <div><?php wp_footer(); ?></div>
    <!-- Google Analytics code here -->
    <?php echo stripslashes(get_option('wps_google_analytics')); ?>
    </body></html>

  10. alchymyth
    Member
    Posted 4 months ago #

    find this bit:

    </p>
    </div></div>
    <div class="Footer-background">
    </div></div></div></div>
    <div class="cleared"></div>
    <p class="page-footer">

    take out three extra closing /divs:

    </p>
    </div>
    <div class="Footer-background">
    </div></div>
    <div class="cleared"></div>
    <p class="page-footer">

    and then add 'text-align:center' to '.Footer' in style.css:

    .Footer{margin:5px auto 0;overflow:hidden;position:relative;width:998px;z-index:0;
    text-align:center;}
  11. bill_g
    Member
    Posted 3 months ago #

    Thanks done this and it fixed it perfectly!

Topic Closed

This topic has been closed to new replies.

About this Topic