Title: Controlling grid display width
Last modified: August 21, 2016

---

# Controlling grid display width

 *  Resolved [corinnepritchard](https://wordpress.org/support/users/corinnepritchard/)
 * (@corinnepritchard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/)
 * Hi there,
 * Love the theme. I’m trying to adapt the grid system so it successfully displays
   in a smaller area (but keeps to two columns), and right aligned. Whatever I do
   with the CSS, I can’t properly control the overall width of the grid – it always
   spills over into the right margin.
 * Any tips?
 * Corinne

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

 *  Theme Author [Anders Norén](https://wordpress.org/support/users/anlino/)
 * (@anlino)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146502)
 * Hi Corinne,
 * From your description, I’m not sure I understand what you’re trying to achieve.
   Do you want the post container to be thinner than the theme wrapper and aligned
   to the right?
 * – Anders
 *  [Marchsix](https://wordpress.org/support/users/marchsix/)
 * (@marchsix)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146571)
 * On your live demo, you have slides as a featured image , how do you put sliders
   as a featured image?
 *  Thread Starter [corinnepritchard](https://wordpress.org/support/users/corinnepritchard/)
 * (@corinnepritchard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146575)
 * Hi Anders,
 * Yes, that’s right. Whenever I’ve succeeded in making it thinner, the post grid
   either turns into a straight line (downwards) or exceeds the right margin.
 * Corinne
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146576)
 * [@marchsix](https://wordpress.org/support/users/marchsix/), you can create a 
   new thread here: [http://wordpress.org/support/theme/baskerville#postform](http://wordpress.org/support/theme/baskerville#postform)
 *  Thread Starter [corinnepritchard](https://wordpress.org/support/users/corinnepritchard/)
 * (@corinnepritchard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146579)
 * Okay, I’ve managed to do part of what I want (by setting a higher width value
   in the javascript), but still can’t figure out which part of the javascript is
   controlling the horizontal and vertical space between post-container elements.
   Can you help?
 * Corinne
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146581)
 * I think that’s controlled in CSS isn’t it? CSS padding?
 *     ```
       .post-container {
           padding: 0 1.5% 4.5% 1.5%;
       }
       ```
   
 *  Thread Starter [corinnepritchard](https://wordpress.org/support/users/corinnepritchard/)
 * (@corinnepritchard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146582)
 * So it is… haha 🙂
 * Corinne

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

The topic ‘Controlling grid display width’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/baskerville/2.3.1/screenshot.jpg)
 * Baskerville
 * [Support Threads](https://wordpress.org/support/theme/baskerville/)
 * [Active Topics](https://wordpress.org/support/theme/baskerville/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/baskerville/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/baskerville/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [corinnepritchard](https://wordpress.org/support/users/corinnepritchard/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/controlling-grid-display-width/#post-5146582)
 * Status: resolved