WordPress.org

Ready to get started?Download WordPress

Forums

Centering footer? (5 posts)

  1. threethings
    Member
    Posted 4 years ago #

    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?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    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

  3. threethings
    Member
    Posted 4 years ago #

    Where do I put that?

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    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.....

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    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......

Topic Closed

This topic has been closed to new replies.

About this Topic