Title: Resize sidebars
Last modified: August 22, 2016

---

# Resize sidebars

 *  Resolved [NickyThissen](https://wordpress.org/support/users/nickythissen/)
 * (@nickythissen)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/resize-sidebars-1/)
 * So now getting to try some more CSS.
 * Trying to adjust sizes:
 * .left-sidebar{
    float: left; width: 300px; }
 * Please learn me more 🙂

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

 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347082)
 * Hi there,
 * GeneratePress uses percentages for the content and sidebars.
 * The easiest way to adjust the width of the sidebars is using the Spacing addon.
 * Without it, you’ll need to use PHP functions to adjust some filters in GeneratePress.
 * Let me know if you’re comfortable with PHP functions and don’t want the spacing
   addon.
 * Thanks!
 *  Thread Starter [NickyThissen](https://wordpress.org/support/users/nickythissen/)
 * (@nickythissen)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347228)
 * Just added the addon’s… THX
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347229)
 * Awesome – thank you!
 *  [noll.david](https://wordpress.org/support/users/nolldavid/)
 * (@nolldavid)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347324)
 * Hey, I’m trying to do this as well, and I would rather use the PHP to adjust 
   the filters. I can’t seem to find where the classes grid-25, etc. are added.
 * Thanks
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347325)
 * Hi there,
 * You can adjust the sidebar widths with these functions:
 *     ```
       add_filter( 'generate_right_sidebar_width','generate_custom_right_sidebar_width' );
       function generate_custom_right_sidebar_width()
       {
             // 25 being 25% - increase or decrease by 5%
             return '25';
       }
   
       add_filter( 'generate_left_sidebar_width','generate_custom_left_sidebar_width' );
       function generate_custom_left_sidebar_width()
       {
             // 25 being 25% - increase or decrease by 5%
             return '25';
       }
       ```
   

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

The topic ‘Resize sidebars’ is closed to new replies.

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

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/resize-sidebars-1/#post-5347325)
 * Status: resolved