Support » Fixing WordPress » Theme development problem with page alignment

  • Resolved hortonsart


    I’m creating my own theme, using Starkers as the “wireframe”, and my home/blog page is set up and working fine. I’m editing the rest of my php files at the moment, but for some reason all the pages that I create are aligning to the left even though my blog/home page is centered.

    If you click on the about page and then on the home page you’ll see what I mean. Any help would be greatly appreciated!

    Thanks in Advance,

    Fletcher Horton

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    I see the direct cause…. your about page has the .page class in your first line of HTML.

    <body class="page page-id-328 page-template-default">

    The .page class floats left, as you can see in your CSS code:

    .post, .page {
      float: left;
      padding: 10px 10px 25px;
      width: 730px;

    Last tip… validate your HTML, you have some errors in it.

    Good luck, Dave

    Thanks a bunch Dave!…I knew it was going to be something simple that I had just overlooked.

    Good for you creating your own theme! You’re a cut above the rest!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme development problem with page alignment’ is closed to new replies.