Title: Set Content and sidebar width
Last modified: October 3, 2017

---

# Set Content and sidebar width

 *  [Abiel](https://wordpress.org/support/users/aabuy/)
 * (@aabuy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/set-content-and-sidebar-width/)
 * It’s me again! 🙂
 * Is there a way to set the Content and sidebar width to 500px and 250px respectively?
 * I checked the css code under **_/\* Media Queries \*/_** and all I can do is 
   to set the content to 500px and not the sidebar. Also, can I change the “em” 
   values to “px” values? Since I’m more familiar with the px than em.
 * Cheers!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fset-content-and-sidebar-width%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [niteshraghu](https://wordpress.org/support/users/niteshraghu/)
 * (@niteshraghu)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/set-content-and-sidebar-width/#post-9554998)
 * Hello there,
 * Go to the Appearance > Customize > Additional CSS ([https://www.screencast.com/t/JSxqpr7lG](https://www.screencast.com/t/JSxqpr7lG))
   and paste code given below.
 *     ```
       @media screen and (min-width: 50em){
       .site-main {
           margin: 0px 32% 0 0;
       }
       .site-content .widget-area {
           width: 30%;
       }}
       ```
   
 * You can adjust margin form content and width for sidebar.
 * Best Regards.

Viewing 1 replies (of 1 total)

The topic ‘Set Content and sidebar width’ is closed to new replies.

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

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [niteshraghu](https://wordpress.org/support/users/niteshraghu/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/set-content-and-sidebar-width/#post-9554998)
 * Status: not resolved