Title: Spacing between sidebar widgets
Last modified: August 22, 2016

---

# Spacing between sidebar widgets

 *  Resolved [marc0831](https://wordpress.org/support/users/marc0831/)
 * (@marc0831)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/)
 * Noob in need! I’ve tried adjusting my Themes CSS but I can’t seem to figure out
   how to adjust the spacing between widgets in my sidebar. The gaps between the
   different items is too large and I would also like to reduce the line spacing,
   say, between categories as well as between category names and whatever’s listed
   below them. Please advise, if you can for:
    [http://www.laroseylife.com/](http://www.laroseylife.com/)
 * Also, I think I’m updating my CSS correctly but can you also help as well? Editing
   CSS would be under Appearance>Editor>Stylesheet
 * Which contains the following:
    /* Theme Name: Zephyr Theme URI: [http://themeflame.org/zephyr](http://themeflame.org/zephyr)
   Author: Themeflame Author URI: [http://themeflame.org/](http://themeflame.org/)
   Description: Zephyr is a Clean Blogging theme that offers extensive customization
   through the WordPress Customizer. Version: 2.2.1 License: GNU General Public 
   License License URI: license.txt Tags: white, translation-ready */
 * [@import](https://wordpress.org/support/users/import/) url(“css/zephyr.css”);
 * Thank you!!

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

 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/#post-5859705)
 * Well, this is controlling it:
 *     ```
       #zephyr-widget-sidebar li {
         margin: 20px 20px 30px;
         padding: 60px 20px 30px;
       }
       ```
   
 * If you put that into your child theme’s CSS file and change the values to what
   you want, should work. This shows how the values affect which side: [http://www.w3schools.com/css/css_padding.asp](http://www.w3schools.com/css/css_padding.asp)
 * This shows how to create a child theme if you haven’t: [http://www.w3schools.com/css/css_padding.asp](http://www.w3schools.com/css/css_padding.asp)
 * If you add it below the [@import](https://wordpress.org/support/users/import/)
   line, should work.
 *  Thread Starter [marc0831](https://wordpress.org/support/users/marc0831/)
 * (@marc0831)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/#post-5859734)
 * Thank you MarkRH! Once again, I’m a total noob! I entered what you provided above
   and then modified the values of the margin and padding and saw no difference 
   after updating the file. Is there something else I’m not doing? Your link to 
   the child theme was the same as to the padding theme.
 * Thanks again for your help!
 * /*
    Theme Name: Zephyr Theme URI: [http://themeflame.org/zephyr](http://themeflame.org/zephyr)
   Author: Themeflame Author URI: [http://themeflame.org/](http://themeflame.org/)
   Description: Zephyr is a Clean Blogging theme that offers extensive customization
   through the WordPress Customizer. Version: 2.2.1 License: GNU General Public 
   License License URI: license.txt Tags: white, translation-ready */
 * [@import](https://wordpress.org/support/users/import/) url(“css/zephyr.css”);
 * #zephyr-widget-sidebar li {
    margin: 1px 1px 1px; padding: 1px 1px 1px; }
 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/#post-5859755)
 * Doh! Child themes: [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 * I notice a change. The CSS is now:
 *     ```
       #zephyr-widget-sidebar li {
         margin: 1px;
         padding: 100px;
       }
       ```
   
 * My browser is seeing this:
 *     ```
       @import "css/zephyr.css";
       #zephyr-widget-sidebar li {
           margin: 1px;
           padding: 100px;
       }
       ```
   
 * Need to change that padding 100px value to 1px or 5px or something less.
 * If you don’t notice a change, may need to force refresh your browser to load 
   the new CSS file.
 *  Thread Starter [marc0831](https://wordpress.org/support/users/marc0831/)
 * (@marc0831)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/#post-5859915)
 * Thank you so much MarkRH!!!!

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

The topic ‘Spacing between sidebar widgets’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [marc0831](https://wordpress.org/support/users/marc0831/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/spacing-between-sidebar-widgets-1/#post-5859915)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
