• Hello,
    which place in this css could effect my footer? I can’t see the footer when this css is enabled and the footer shows when there is no css.

    [long code moderated – use http://wordpress.pastebin.ca if you need to post long code. Better give a link, we can see your stylesheet]

Viewing 15 replies - 1 through 15 (of 16 total)
  • #footer {
    background-color: #ffffff;
    }

    The problem is that your font color is white on a white background. Try changing your color.

    Thread Starter porphyrist

    (@porphyrist)

    Unfortunately, footer is still invisible. I don’t think color is a problem, because font color is not white. But I tried changing to different colors.

    Where’s the link to footer.php code or your blog?

    Thread Starter porphyrist

    (@porphyrist)

    The code <?php get_footer(); ?> is in index.php of theme I’m using
    (wp-content/themes/mytheme/index.php)

    footer.php contains code:
    <div id=”footer”>
    Some copyright information…
    <?php wp_footer(); ?>
    </div>
    </body>
    </html>

    CSS file on pastebin:
    http://wordpress.pastebin.ca/879257

    URL of your blog?

    Thread Starter porphyrist

    (@porphyrist)

    1. You can never link directly to any of the template files…

    2. What happens if you move the <?php wp_footer(); ?> outside of the div, just above the body tag?

    Thread Starter porphyrist

    (@porphyrist)

    Footer doesn’t appear. Error moves to next line with <?php wp_footer(); ?>.

    I don’t see any error.
    There must be some code in your sidebar.php that cuts everything and nothing displays after it.

    Thread Starter porphyrist

    (@porphyrist)

    sidebar.php:
    http://wordpress.pastebin.ca/879767

    Maybe someting in the end of sidebar.php?

    <?php endif; ?>
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php } ?>
    </div>

    Lines 56, 57 are totally useless there.

    Furthermore, this: <?php wp_head(); ?> should be in the <head> section of your file (before the closing </head> in the header.php.
    Who put it here?

    Thread Starter porphyrist

    (@porphyrist)

    But there is no <head> section in sidebar.php. If I remove <?php wp_head(); ?> from sidebar.php user online counter always shows 0.

    Ok, I’ve removed lines 56, 57 but footer is still invisible.

    Someting with css because I see the footer when I remove css.

    Read again what I wrote where to put it. NOT in the sidebar.php!

    Thread Starter porphyrist

    (@porphyrist)

    There is <?php wp_head(); ?> before </head> in header.php too. Without <?php wp_head(); ?> in sidebar.php online counter doesn’t work.

    <?php wp_head(); ?> in sidebar.php doesn’t effect the footer, when I remove it footer doesn’t appear.

    You know what? That theme is completely screwed up now…. doesn’t even have a body tag…

    Deactivate all your plugins.
    Download a fresh copy of the theme and see if it works.
    And if you want to edit the theme do it one step at a time, always checking the results.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Which place in css can effect footer?’ is closed to new replies.