Title: CSS and Template&#8230;Help Needed Changing Width
Last modified: August 19, 2016

---

# CSS and Template…Help Needed Changing Width

 *  [mfreund](https://wordpress.org/support/users/mfreund/)
 * (@mfreund)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/css-and-templatehelp-needed-changing-width/)
 * Hi
 * I am not new to wordpress but am new to customizing it….I have a site that i 
   put up that uses a specific template and there is just one style css file for
   it….I created a NEW templat e file for a certain page and now I want to make 
   that page a FULL WIDTH page and i am having a problem doing it…..Most of the 
   site is the standard 2 column design and and i am using a static front page. 
   I want to make my page that i made the custom template for be a full width page….
   but If i change the width in the css file it is going to make all the pages full
   width….My question is what is the best way to do this so i can chnage that specific
   page to be full width without changing other pages on the site….is there a was
   to specify a certain css file for a certain template? What is the best way to
   acheive what i need?
 * Any help is appreciated

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/css-and-templatehelp-needed-changing-width/#post-1560582)
 * you could try and use `body_class()` in the body tag; and then style the width
   of the div in question.
 * `<body <?php body_class(); ?>>`
 * this will give you some extra css classes to use; one of which will be `.page-
   template-yourtemplatename-php`
 * in style.css you can use this (using #content as an example):
    `.page-template-
   yourtemplatename-php #content { width: 999px; }`
 *  Thread Starter [mfreund](https://wordpress.org/support/users/mfreund/)
 * (@mfreund)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/css-and-templatehelp-needed-changing-width/#post-1560643)
 * thanks much for your help…I got it figured out…..it was the post-wrapper that
   fixed it.
 *  [heroicsatsuma](https://wordpress.org/support/users/heroicsatsuma/)
 * (@heroicsatsuma)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/css-and-templatehelp-needed-changing-width/#post-1560860)
 * Hi it seems you managed to fix the exact problem I have!
 * Could you take a look and see if the fix you used would be possible on my gallery
   page :-
 * [http://www.easy10.co.uk/?page_id=65](http://www.easy10.co.uk/?page_id=65)
 * Any help would be much appreciated – I have managed to remove the sidebar by 
   making a new template, just need to adjust the page width on that page now and
   I’m ready for the next million problems lol!

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

The topic ‘CSS and Template…Help Needed Changing Width’ is closed to new replies.

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [heroicsatsuma](https://wordpress.org/support/users/heroicsatsuma/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/css-and-templatehelp-needed-changing-width/#post-1560860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
