WordPress.org

Support

Support » How-To and Troubleshooting » Centering footer?

Centering footer?

  • I can’t find a thread that helps me, sorry to start another.

    Here’s the CSS of the current footer, but here’s the site: http://thehungergamestribute.co.cc/

    `#footer
    {
    clear: both;
    height: 100%;
    margin: 0px auto 0px auto;
    padding: 20px 0px 60px;
    color: #00000;
    font-weight: bold;
    text-align: center;
    overflow: hidden;`

    What do I need to change/add?

Viewing 4 replies - 1 through 4 (of 4 total)
  • looking at the source for your site…..your code doesn’t wrap the text that you want to be in the footer in any div tags…

    <div id=”footer”>your text </div> would be needed to tell the code to read your css at #footer

    Where do I put that?

    in your footer.php file I would think…..

    All css does is define the styling of properties that you have set in your code.

    So your header, index, footer, etc all have div id or div class = something…..that something is then styled in your css…..

    I think you may want to study some themes to try to understand the code a bit better? And have this website handy as well….

    It sounds like you are just starting out……

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering footer?’ is closed to new replies.
Skip to toolbar