Title: Make posts in certain category full-width
Last modified: August 31, 2016

---

# Make posts in certain category full-width

 *  [Halo Diehard](https://wordpress.org/support/users/halo-diehard/)
 * (@halo-diehard)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/make-posts-in-certain-category-full-width/)
 * Hello, my theme is default right sidebar and that works great for the entire 
   site except posts from one category need to be full width. I’ve searched quite
   a bit for a how-to, but all the threads I find on the ‘net are three or more 
   years old. I tried one of them but it didn’t work, so I think the new WordPress
   just doesn’t use the same code. All the coding is still WAY over my head, so 
   I don’t know how to use exceptions at all, and really need a step by step. Anyone
   know how I can accomplish this?
 * Thanks in advance for your time!

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 1 month ago](https://wordpress.org/support/topic/make-posts-in-certain-category-full-width/#post-7363695)
 * What’s a link to your site and a post that should be full-width?
 *  Thread Starter [Halo Diehard](https://wordpress.org/support/users/halo-diehard/)
 * (@halo-diehard)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/make-posts-in-certain-category-full-width/#post-7363884)
 * Hi, sterndata, thank you for your response. Here is a link to one of the posts
   in the category “Newsletter” that I am attempting to make full-width:
 * [http://www.reaching-out.info/june-2015-2/](http://www.reaching-out.info/june-2015-2/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 1 month ago](https://wordpress.org/support/topic/make-posts-in-certain-category-full-width/#post-7363889)
 * What you’re going to have to do is edit your theme’s single.php template.
 * Add a conditional to test the category and, if the post is in the category “newsletter”,
   skip the call to get_sidebar(). Then you’ll have to add a lot of CSS to change
   the width of the main content area. Qualify the css with .category-newsletter
   to override the default for the post’s normal styling.
 * This is probably best done in a child theme.

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

The topic ‘Make posts in certain category full-width’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [full-width](https://wordpress.org/support/topic-tag/full-width/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/make-posts-in-certain-category-full-width/#post-7363889)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
