Title: Theme centering problem
Last modified: August 19, 2016

---

# Theme centering problem

 *  [pedigo328](https://wordpress.org/support/users/pedigo328/)
 * (@pedigo328)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-centering-problem/)
 * I’m having the trouble of getting my layout to center. Whenever I input a width
   on my div#body-in it moves back to the left. How can I keep it at the 978px width
   and still have it in the middle?
 * The site is located at: [http://www.americanfabandpowdercoat.com/Test](http://www.americanfabandpowdercoat.com/Test)
 * If ya have firebug it’ll probably help.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-centering-problem/#post-1325705)
 * add `margin: 0 auto;` to #body-in
 * Peter
 *  Thread Starter [pedigo328](https://wordpress.org/support/users/pedigo328/)
 * (@pedigo328)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-centering-problem/#post-1325855)
 * Awesome, got it. Don’t know why I didn’t think of that. Thanks a million.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Theme centering problem’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [pedigo328](https://wordpress.org/support/users/pedigo328/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/theme-centering-problem/#post-1325855)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
