Title: Sidebar widget spacing
Last modified: June 17, 2020

---

# Sidebar widget spacing

 *  Resolved [twistsd](https://wordpress.org/support/users/twistsd/)
 * (@twistsd)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/)
 * I have created a sidebar with three widgets in but I would like to reduce the
   vertical space between the 1st and 2nd widget, any help/advice would be gratefully
   appreciated.
    Thanks

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-12999737)
 * Hi Steve,
    Can you post a link? Thanks!
 * Hannah
 *  Thread Starter [twistsd](https://wordpress.org/support/users/twistsd/)
 * (@twistsd)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13002380)
 * Hannah,
 * Here is the link to my dev site. What i wish to achieve is to get the space between
   the image at the top of the sidebar and the next widget as small as possible.
 * [http://51.132.137.214/](http://51.132.137.214/)
 * Thanks
    Stephen
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13004627)
 * Try adding this to your custom css box in Theme Options > Advanced Settings:
 *     ```
       .sidebar .widget {
           margin-top: 0;
       }
       ```
   
 * Hope that helps!
 * Hannah
 *  Thread Starter [twistsd](https://wordpress.org/support/users/twistsd/)
 * (@twistsd)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13009221)
 * Hannah,
 * Thanks for your reply. I have tried that but I still have a gap between the 1st&
   2nd widget, and also the 1st widget is not fully inline with the other widgets.
   I have added a background to the side bar to show this easier.
 * Thanks
    Stephen
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13010182)
 * Hey Stephen,
    Try adding this css instead:
 *     ```
       .sidebar h3 {
           margin: 0;
       }
       img.image.wp-image-913.attachment-full.size-full {
           margin: 0;
       }
       .sidebar ul {
           margin-bottom: 0;
       }
       ```
   
 * How does that work for you?
 * Hannah
 *  Thread Starter [twistsd](https://wordpress.org/support/users/twistsd/)
 * (@twistsd)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13013934)
 * Hannah,
    That has sorted it thanks. Stephen
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13019193)
 * You bet! Happy Monday:)
 * Hannah

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

The topic ‘Sidebar widget spacing’ is closed to new replies.

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

 * 7 replies
 * 2 participants
 * Last reply from: [hannah](https://wordpress.org/support/users/hannahritner/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/sidebar-widget-spacing-3/#post-13019193)
 * Status: resolved