WordPress.org

Ready to get started?Download WordPress

Forums

Footer is not centered??? (7 posts)

  1. havingfun
    Member
    Posted 1 year ago #

    Hello...

    Look at the very bottom of the frontpage of my site. The gray bar is pushed to the right where it is no longer on the main body. Where in CSS can I line it up so that it is centered? Is there a code I need to put in? If so, could you please let me know what the code would be and where to place it?

    Thank you!

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Try reducing padding or width in

    #footer {
        background: url("images/footer-column.png") no-repeat scroll 0 0 transparent;
        clear: both;
        height: 41px;
        margin-bottom: 5px;
        margin-left: 7px;
        padding: 10px 30px 0 15px;
        width: 923px;
    }
  3. havingfun
    Member
    Posted 1 year ago #

    Krishna...it looks like I needed to adjust the left margin. Thank you so much for your guidance!

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Glad to note that you could solve the problem.

  5. havingfun
    Member
    Posted 1 year ago #

    Krishna...I just noticed that I am having the same problem I had with the footer on my frontpage, with all the other pages throughout my site. The bottom gray bar on the footer is not alligned with the main body. Would you be able to tell me which file in CSS I would be able to adjust the margin? I adjusted the margin to the footer on my frontpage with your help the other night assuming it would adjust all pages at the same time. Unfortunately, it only fixed the frontpage but not ALL pages.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try posting specific CSS issues on forums that provide specific CSS support.

  7. HarryWills
    Member
    Posted 1 year ago #

    <center> Footer here </center

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.