• Hi,

    I’m wondering what part of the WP Default theme makes it centered?

    The theme I am using is fjords03 and it centers the blog by using:

    body { width: 850px; }

    However, this causes problems when I use lightbox and an overlay. In firefox the overlay will cover the whole screen but in ie7 the overlay will only go to a width of 850px. Therefore I am hoping to find a different way to get things centered. Obviously I’m a hack at css ?? I’ve tried a few things, but as soon as I remove the body width 850px, my theme gets aligned to the left.

    thanks

    https://www.dryfly.ca/myhouse/

Viewing 1 replies (of 1 total)
  • Try this:

    1. open header.php
    2. insert the following code right after the <body> tag: <div id="wrap">
    3. open footer.php
    4. Insert the following code right before </body>: </div>
    5. open style.css
    6. remove width 850px from the body element
    7. add the following code:
    #wrap{
        width: 850px;
        margin:0 auto;
        }

    This should fix the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘what centers the default theme? and how can i center mine?’ is closed to new replies.