Title: Padding in default sidebar
Last modified: August 16, 2022

---

# Padding in default sidebar

 *  [oliverpeers](https://wordpress.org/support/users/oliverpeers/)
 * (@oliverpeers)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/)
 * Hi. I’ve almost got this – just resurrecting a site from an xml saved before 
   the server died.
 * I think my one question that I’m struggling with – the padding in the sidebar.
   Especially on the front page, it seems way to spaced out. Please could you advise
   as to how to open it out a bit – less padding up and down and side to side.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpadding-in-default-sidebar%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15922330)
 * Hi [@oliverpeers](https://wordpress.org/support/users/oliverpeers/),
 * Thank you for your query. If I got it right, you’d add this CSS code to your 
   site’s **Additional CSS** under the **Customize** menu.
 *     ```
       .home .sidebar-area .widget {
         padding-left: 0;
         padding-right: 0;
       }
       ```
   
 *  Thread Starter [oliverpeers](https://wordpress.org/support/users/oliverpeers/)
 * (@oliverpeers)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15923858)
 * Oh thank you. Can I add top and bottom too there? And bring that a bit closer
   together. Obvs there are only the 3 there at the mo – but is that the basic idea?
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15925104)
 * Hi [@oliverpeers](https://wordpress.org/support/users/oliverpeers/),
 * Thank you for getting back.
 * Try this CSS code:
 *     ```
       .home .sidebar-area .widget {
         padding: 0;
       }
       ```
   
 *  Thread Starter [oliverpeers](https://wordpress.org/support/users/oliverpeers/)
 * (@oliverpeers)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15932308)
 * Thanks again. That’s great on the front page. Could you tell me what the css 
   is for the category and post pages too? Thanks. Ol
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15933596)
 * Hi [@oliverpeers](https://wordpress.org/support/users/oliverpeers/),
 * Try this CSS code:
 *     ```
       .sidebar-area .widget {
         padding: 0;
       }
       ```
   
 *  Thread Starter [oliverpeers](https://wordpress.org/support/users/oliverpeers/)
 * (@oliverpeers)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15934391)
 * Thanks. I got there with 10px. Every best, Oliver

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

The topic ‘Padding in default sidebar’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [oliverpeers](https://wordpress.org/support/users/oliverpeers/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/padding-in-default-sidebar/#post-15934391)
 * Status: not resolved