Title: Theme development problem with page alignment
Last modified: August 20, 2016

---

# Theme development problem with page alignment

 *  Resolved [hortonsart](https://wordpress.org/support/users/hortonsart/)
 * (@hortonsart)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/theme-development-problem-with-page-alignment/)
 * 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.
 * [http://hortons-art.com](http://hortons-art.com)
 * 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)

 *  [flamenco](https://wordpress.org/support/users/flamenco/)
 * (@flamenco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/theme-development-problem-with-page-alignment/#post-2304429)
 * 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
 *  Thread Starter [hortonsart](https://wordpress.org/support/users/hortonsart/)
 * (@hortonsart)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/theme-development-problem-with-page-alignment/#post-2304461)
 * Thanks a bunch Dave!…I knew it was going to be something simple that I had just
   overlooked.
 *  [flamenco](https://wordpress.org/support/users/flamenco/)
 * (@flamenco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/theme-development-problem-with-page-alignment/#post-2304547)
 * 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.

## Tags

 * [page alignment](https://wordpress.org/support/topic-tag/page-alignment/)
 * [starkers](https://wordpress.org/support/topic-tag/starkers/)
 * [theme development](https://wordpress.org/support/topic-tag/theme-development/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [flamenco](https://wordpress.org/support/users/flamenco/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/theme-development-problem-with-page-alignment/#post-2304547)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
