Title: Width and alignment issues
Last modified: January 24, 2017

---

# Width and alignment issues

 *  [shaggyshoogz](https://wordpress.org/support/users/shaggyshoogz/)
 * (@shaggyshoogz)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/width-and-alignment-issues/)
 * Hello,
 * Great theme!
 * However, im having a small issue with width and alignment on one of my pages,
   the page is;
 * [http://thetenthyard.co.uk/portfolio/plans](http://thetenthyard.co.uk/portfolio/plans)
 * I have figured out how to make the pricing plan table wider, but in doing so 
   the alignment is off to the right.
 * I have had a fiddle with some custom CSS and tried to re-align it but i cant 
   seem to find the right div.tag to move it (I call them div tags, might be called
   something else in the web develop world?)
 * I managed to change the entire sites alignment but this is not what im after,
   i just want the pricing table centred.
 * So far I have used this CSS to increase the width of the table, but when I add
   Align: center; nothing happens
 * div.ptp-pricing-table {
    width: 1000px !important; }
 * Any help much appreciated.

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

 *  [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * (@shireling)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/width-and-alignment-issues/#post-8693411)
 * Hi there!
 * It looks like the current problem is that the width is being forced to 1000px,
   but it’s in a container that isn’t wide enough to accommodate that. This means
   the table starts on the left edge of the content area, and then goes 1000px to
   the right.
 * I’d recommend making the content area wider, and then use some `max-widths` to
   let the table expand, but still stay responsive on different screen sizes:
 *     ```
       .postid-101 .entry-content {
           width: auto;
       	max-width: 100%;
       }
   
       div.ptp-pricing-table {
           width: auto;
           max-width: 1000px;
           margin: 0 auto;
       }
       ```
   
 * The first style targets this page specifically, using it’s post id (you can grab
   that by [inspecting the page](https://www.youtube.com/watch?v=09XV2psDAZ4) and
   looking at the body tag) 🙂
 * Don’t forget to remove your `width: 1000px !important` style, as it will override
   the width I’ve set above 🙂
 *  Thread Starter [shaggyshoogz](https://wordpress.org/support/users/shaggyshoogz/)
 * (@shaggyshoogz)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/width-and-alignment-issues/#post-8694386)
 * Chad, im gobsmacked at how well that worked!
 * You sir, are a genius.
 * I had no idea i was going so wrong!
 * But now I read your CSS it makes sense, wish i could have picked up on it. Once
   I see it, it makes sense, i just cant work it out using the inspect window in
   chrome, but I guess I will get there eventually
 * Many thanks
 *  [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * (@shireling)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/width-and-alignment-issues/#post-8697154)
 * You’re welcome! Happy to help 🙂

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

The topic ‘Width and alignment issues’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/argent/1.1.5/screenshot.png)
 * Argent
 * [Support Threads](https://wordpress.org/support/theme/argent/)
 * [Active Topics](https://wordpress.org/support/theme/argent/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/argent/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/argent/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/width-and-alignment-issues/#post-8697154)
 * Status: not resolved