Forums

[resolved] Footer not correct on page vs home (8 posts)

  1. KlickDesign
    Member
    Posted 1 year ago #

    I'm having problems getting my footer to center on all of the other pages in my site EXCEPT for the home page (or index.php). Can someone help find the problem? I'm using the original footer file in the twentyten theme and would just like it to be centered on all the rest of my pages (page.php, author.php, etc.) but can't find where the code needs to be changed.. do I change the style.css or the footer.php or the page.php itself? Also, all of the pages view left aligned in internet explorer with space at the top..
    Help!

  2. KlickDesign
    Member
    Posted 1 year ago #

    Here's the site: http://luannandfriends.encouragementcafe.com/

    Is it because I'm programming with on a subdomain? I would hope that's not the case!

    Thanks for any help : /

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

  4. KlickDesign
    Member
    Posted 1 year ago #

    Thanks! I was able to fix it.. now for another mystery.. can you help me understand what is causing the weird margins above the "Join the cofee club" "listen now" buttons and on to the right? It also appears below the buttons. If you view the same exact code on the index page (or home) it doesn't do this! What should I look for in my styles.css or page.php to fix?
    Thanks for anymore help!
    home:
    http://luannandfriends.encouragementcafe.com
    inside page:
    http://luannandfriends.encouragementcafe.com/radio

  5. alchymyth
    The Sweeper
    Posted 1 year ago #

    looks like you tried to remove the title from header.php;

    there are two lines to consider:

    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    				<<?php echo $heading_tag; ?> id="site-title">

    and the corresponding closing tag (which you probably missed in your edit):

    </<?php echo $heading_tag; ?>>

    (on the front page, this is a </h1> which does not cause much trouble;
    but on the inside pages, this is a </div> which prematurely closes the #branding div and causes style problems.)

    remove this line with the closing tag.

  6. KlickDesign
    Member
    Posted 1 year ago #

    Okay did that.. now it's showing up funny on all the pages.. at least they are all the same now.. is there a way to prevent funny break?

  7. alchymyth
    The Sweeper
    Posted 1 year ago #

    looks ok on my browser (IE7 and FF3.6 - front page and innner pages)

    try to clear you browser cache (press 'ctrl' and 'f5' simultanously)

    can you provide a screenshot of that 'funny break' ?

  8. KlickDesign
    Member
    Posted 1 year ago #

    Actually I didn't get to post back fast enough.. i added back in all the code and it's good! Thanks so much, I'm working on the search form now :)

Topic Closed

This topic has been closed to new replies.

About this Topic