Title: Change side bar width
Last modified: September 1, 2016

---

# Change side bar width

 *  [kostasfmx](https://wordpress.org/support/users/kostasfmx/)
 * (@kostasfmx)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/)
 * Hello
    How i can change the sidebar width? I use custom css widget and i have
   try 2 -3 css codes without luck!

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

 *  [Suyogya Shukla](https://wordpress.org/support/users/themeislesupport/)
 * (@themeislesupport)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467419)
 * Hey there,
 * Please post a link to your site. Thanks!
 *  Thread Starter [kostasfmx](https://wordpress.org/support/users/kostasfmx/)
 * (@kostasfmx)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467452)
 * [http://stilvijewellery.com/catalog/olive/](http://stilvijewellery.com/catalog/olive/)
 * Ok here is the gallery ,i want the sidebar width smaller and the thubnails larger
 * I try this code
 *     ```
       @media (min-width: 1200px) {
         .container {
          width: 1400px;
         }
   
       .sidebar {
       margin-left: 10%;
       margin-right: 10%;
       float: right;
       	width: 310px !important;
       }
       ```
   
 * The results is here
    [http://stilvijewellery.com/catalog/katalogos-test/?preview_id=305&preview_nonce=955303ae20&preview=true](http://stilvijewellery.com/catalog/katalogos-test/?preview_id=305&preview_nonce=955303ae20&preview=true)
 * I like that the thumpnails is larger in this version but still i want the content
   allign to center ….
    I dont have any ideas or css knowledge
 *  [Fotis](https://wordpress.org/support/users/markwaregr/)
 * (@markwaregr)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467466)
 * Hi there, please try this
    [code] [@media](https://wordpress.org/support/users/media/)(
   min-width: 1200px) { .container { width: 1400px; } #content .container >.col-
   md-4 { margin-left: 10%; margin-right: 10%; float: right; width: 310px !important;}}[/
   code]
 * Let me know if this helps
 *  Thread Starter [kostasfmx](https://wordpress.org/support/users/kostasfmx/)
 * (@kostasfmx)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467485)
 * It work somehow but not with the result ithat i want..
    Thanks for the interrest
   I put the link again
 * [http://stilvijewellery.com/catalog/katalogos-test/](http://stilvijewellery.com/catalog/katalogos-test/)
 * I want only the left part not the side bar to change.
    I want the gallery thumbnails
   in the center of the container.The sidebar stay as it
 *  [Fotis](https://wordpress.org/support/users/markwaregr/)
 * (@markwaregr)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467522)
 * Hi there, please try this
 *     ```
       @media (min-width: 1200px) {
           .page-id-305 .col-md-4 {
               width: 30%;
           }
           .page-id-305 .col-md-8 {
               width: 70%;
           }
           .page-id-305 .entry {
               margin-left: 45px;
           }
       }
       ```
   
 * I suggest you rethink your css though.

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

The topic ‘Change side bar width’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/olsen-light/1.7.1/screenshot.png)
 * Olsen Light
 * [Support Threads](https://wordpress.org/support/theme/olsen-light/)
 * [Active Topics](https://wordpress.org/support/theme/olsen-light/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/olsen-light/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/olsen-light/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Fotis](https://wordpress.org/support/users/markwaregr/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/change-side-bar-width/#post-7467522)
 * Status: not resolved