Title: Changing width on single.php
Last modified: August 31, 2016

---

# Changing width on single.php

 *  [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/)
 * Hi,im kinda new in all this and i would appreciate some help if its possible.
   
   My problem is that i want to change post width only for single listings like 
   [HERE](http://imgur.com/wnDqHXv) in picture but i dont know where to change that
   becasue i dont see it in single.php template or anywhere else in my theme templates.
   I wanted to make it boxed content.
 * Thanks.

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

 *  [dbking](https://wordpress.org/support/users/dbking/)
 * (@dbking)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/#post-7404466)
 * Hi cosmozara,
 * What you’ll want to do is make note of the CSS classes that are being applied
   in just the single.php template, and then you can manipulate the width by editing
   those classes in the CSS – in your style.css file. To see which classes are being
   applied, try doing “inspect element” in your browser.
 *  Thread Starter [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/#post-7404475)
 * Dbking thx did this the trick 😀
 * #archive #main-content, #search #main-content, #single #main-content, #page #
   main-content {
    margin-top: 10px; margin-right: 250px; margin-bottom: 10px; margin-
   left: 250px; }
 * Hmm but now it changed all full widht pages to that setup…..
    Hmm im confused
   if i make it like this:
 * #single #main-content, {
    margin-top: 10px; margin-right: 250px; margin-bottom:
   10px; margin-left: 250px; }
 * Nothing happens…
 * Hmm noob me i didnt saw comma P yep now it works like this:
 * #single #main-content {
    margin-top: 10px; margin-right: 250px; margin-bottom:
   10px; margin-left: 250px; }
 *  [dbking](https://wordpress.org/support/users/dbking/)
 * (@dbking)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/#post-7404530)
 * Great, glad you figured it out!
 *  Thread Starter [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/#post-7404576)
 * Ok now i have an issue with smartphone and tablets :D…..it seems im gonna need
   to make custom single.php but if anyone knows how to adjust this without making
   new single.php it would be great :D.

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

The topic ‘Changing width on single.php’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/changing-width-on-singlephp/#post-7404576)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
