Title: Can&#8217;t resize menu column
Last modified: June 21, 2020

---

# Can’t resize menu column

 *  [ebzh29](https://wordpress.org/support/users/ebzh29/)
 * (@ebzh29)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cant-resize-menu-column/)
 * Hello,
 * I wanted to add some simple Additional CSS to get a smaller menu size (and so
   more space for the content part) but I cannot make it work.
 * The code I added is the following:
 *     ```
       add_filter('tc_global_layout', 'my_custom_layout' );
       function my_custom_layout( $layout ) {
           $my_layout      = array(
               'r' => array ('content' => 'span10’ , 'sidebar' => 'span2’),//sidebar on the right
               'l' => array ('content' => 'span10’ , 'sidebar' => 'span2’),//sidebar on the left
               'b' => array ('content' => 'span4' , 'sidebar' => 'span4'),//both : two sidebars
               'f' => array ('content' => 'span12' , 'sidebar' => false),//full width : no sidebars
           );
   
           //sets new values for content and sidebar (checks if there are new values to set first)
           foreach ($layout as $key => $value) {
               $layout[$key]['content']   = isset( $my_layout[$key]['content']) ? $my_layout[$key]['content'] : $layout[$key]['content'];
               $layout[$key]['sidebar']   = isset( $my_layout[$key]['sidebar']) ? $my_layout[$key]['sidebar'] : $layout[$key]['sidebar'];
           }
           return $layout;
       }
       ```
   
 * What’s wrong with it ?
    Is there any other maybe simpler CSS to do it ? I just
   want more or less 1/5 menu size and 4/5 content size
 * Thanks for your help, still a beginner here… 🙂
    Eric
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-resize-menu-column%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [ebzh29](https://wordpress.org/support/users/ebzh29/)
 * (@ebzh29)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cant-resize-menu-column/#post-13047584)
 * Anyone ?
    This seems basic but still can’t get hold of that sidebar sizing thing…
   Please help a newby 😉

Viewing 1 replies (of 1 total)

The topic ‘Can’t resize menu column’ is closed to new replies.

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

## Tags

 * [column layout](https://wordpress.org/support/topic-tag/column-layout/)
 * [column-size](https://wordpress.org/support/topic-tag/column-size/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 1 reply
 * 1 participant
 * Last reply from: [ebzh29](https://wordpress.org/support/users/ebzh29/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/cant-resize-menu-column/#post-13047584)
 * Status: not resolved