WordPress.org

Ready to get started?Download WordPress

Forums

Customizing footer (4 posts)

  1. mtlachac
    Member
    Posted 2 years ago #

    Hello! New to WordPress and could use some help creating a custom footer!
    Here's the site: http://www.madisoncountyelections.com

    Footer color is fine but want to include this in the footer:

    Left, above
    Contact Us (which will be a link to Contact Us Page)
    Public Records Policy (link to a .pdf policy)

    (centered)
    Madison County Board of Elections
    117 W. High St., Suite 102
    London, OH 43140

    I am looking for some help here as I am not that great with code (or site development for that matter). Just started the site and hope to launch soon! Help would be greatly appreciated! We are changing the header by the way...don't worry!

  2. ahuggins
    Member
    Posted 2 years ago #

    Are you building this theme from scratch? Have you created a footer.php file in your theme folder? Make sure you add get_footer(); in your index.php file.

    So you would want to add something like this in your footer.php file:

    <p class="left">
    <a href="">Contact Us</a><br />
    <a href="">Public Records Policy</a><br />
    </p>
    <p class="center">
    Madison County Board of Elections<br />
    117 W. High St., Suite 102<br />
    London, OH 43140
    </p>

    Then in your style.css file, you would want to add something like:

    .left {
    text-align: left;
    }
    .center {
    text-align: center
    }

    That should be pretty close, there's probably a better way to do it, but that should be a good start for you.

    Let me know if that works out for you.

  3. ahuggins
    Member
    Posted 2 years ago #

    Just noticed something, although technically it is not needed. In the css part I left out a ";" after the last "center".

    Should be like this:

    .left {
    text-align: left;
    }
    .center {
    text-align: center;
    }

    Although technically since it is the last declaration, you don't really need it, I just like it to be there.

  4. mtlachac
    Member
    Posted 2 years ago #

    Thanks so much! Really, really appreciate your time! I tried to do this using a combination of different widgets, but for some reason the center was actually right justified and the right justified was centered? Kinda screwy! Probably a code issue some where in the footer.php I took out the old codes so maybe now I can't used widgets at all even if I wanted to.

    If you can give me a clue as to how to insert a logo (.png file) sometime, that would be great.

    Thanks for your time!

Topic Closed

This topic has been closed to new replies.

About this Topic