Title: remove sidebar separator and reduce widgets margin
Last modified: August 19, 2020

---

# remove sidebar separator and reduce widgets margin

 *  Resolved [Daniel](https://wordpress.org/support/users/davil2008/)
 * (@davil2008)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/)
 * Hello.
    I am trying to remove the grey lines between sidebar widgets and then
   reduce the margin between the widgets. I already tried: to remove the separator
   which didn’t work.
 *     ```
       .sidebar.sidebar-left{
       border:none;
       }
       .widget{
       border:none;
       }
       ```
   
 * I did manage to reduce the margin-top between widgets like this: ( this reduced
   the margin-top which is probably because my language settings are hebrew ).
 *     ```
       .widget {
       	margin-bottom: -50px
       }
       ```
   
 * all other things with margin and padding didn’t help.
    Thank you in advance.
    -  This topic was modified 5 years, 9 months ago by [Daniel](https://wordpress.org/support/users/davil2008/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-sidebar-separator%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Nik](https://wordpress.org/support/users/nvourva/)
 * (@nvourva)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/#post-13279875)
 * Hello Daniel.
 * Try adding this
 *     ```
       #sidebar .widget:after {
           display: none;
       }
       ```
   
 * in the Additional CSS box under Appearance -> Customize. That should do the trick
   both for the separator and the spacing.
 *  Thread Starter [Daniel](https://wordpress.org/support/users/davil2008/)
 * (@davil2008)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/#post-13279898)
 * Thank you so much !!! works perfectly !!
 *  [Nik](https://wordpress.org/support/users/nvourva/)
 * (@nvourva)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/#post-13280665)
 * You are welcome, glad to hear it works!
 * Since the issue was solved please consider marking the thread as resolved so 
   we can keep the forums more tidy 🙂
 *  Thread Starter [Daniel](https://wordpress.org/support/users/davil2008/)
 * (@davil2008)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/#post-13280680)
 * Marked as resolved !!

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

The topic ‘remove sidebar separator and reduce widgets margin’ is closed to new 
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Daniel](https://wordpress.org/support/users/davil2008/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/remove-sidebar-separator/#post-13280680)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
