Little Bug with CSS div positioning.

Discussion in 'CSS' started by gadgetpro, Jan 31, 2009.

  1. #1
    Hello all,

    I'm currently creating my custom WP Theme, and I'm having a little trouble with the sidebar.

    My sidebar looks fine when a Single post is visible, but when the list of posts(most of my pages) are visible, then it jumps down to the bottom...

    My site: www.hitechgadgetspro.com

    the sidebar is the light grey bordered box at the bottom on the home screen... please click on a post to see what I referred to earlier.

    Also, the footer doesn't align with the Page with but with the content width. thus making it not centered. any idea how this happens?

    Any help would be tremendous!

    Thanks
     
    gadgetpro, Jan 31, 2009 IP
  2. yonghoshin

    yonghoshin Peon

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The sidebar seems to work with both single posts and list posts. Did you fix the problem?

    If you want to center the links in the footer with the page width, use "display: inline" on each of the links and "text-align: center" on the footer.
     
    yonghoshin, Jan 31, 2009 IP
  3. gadgetpro

    gadgetpro Peon

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes... i started all css for that part over... thanks for your help though
     
    gadgetpro, Feb 1, 2009 IP