• Resolved Mariokluser

    (@mariokluser)


    Hello profs out there,

    My footer isn’t centered anymore. It’s not just the grafik or the tekst, it’s just the whole footer.

    The only thing I did was putting the code from http://www.statcounter.com for the </body>-tag. This is it. And I don’t know if this is the reason. When I remove it the footer isn’t centered either.

    Please help. I’m sure it’s a peace of cake for some of you.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The reason is you are using tables to set up your layout. The footer table is separate from the top content and set to 100% with text aligned center. The tables for site name, and post content and sidebars are set to 790px width and left aligned. Note related but also noted that your table for your main navigation is set to 100% width with left-aligned links.

    So you either make the footer table’s width 790px so that it will “align center” for your site.

    Thread Starter Mariokluser

    (@mariokluser)

    Wow!

    To be certain we talk about the same website.
    My blog is http://www.mario-live.com/blog and I just use a theme. I did not do the design.

    Thread Starter Mariokluser

    (@mariokluser)

    I use the counter code from statcounter.com to measure my visitors etc. Maybe you thought that the site with the problem is statcounter.com

    Sorry if I confused you and thank you very much for your fast reaction.

    Hahaha. I thought you copied the layout from statcounter.com 🙂
    OK, find the following in your theme’s style.css

    #footercontent{
    width:850px;
    float:left;
    margin:20px 0 0 0;
    padding-bottom:40px;
    }

    Replace with:

    #footercontent{
    width:850px;
    clear:both;
    margin:20px auto 0 auto;
    padding-bottom:40px;
    }

    Thread Starter Mariokluser

    (@mariokluser)

    Wow, you are great!

    It works! How did you no that?
    You are unbelievable awesome!

    I won’t forget this.

    Thread Starter Mariokluser

    (@mariokluser)

    @mercime

    Do you have by any chance also a fast solution for my problem in this topic: http://wordpress.org/support/topic/208641?replies=9?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Footer isn’t centered anymore’ is closed to new replies.