Title: Margins\Padding for widgets
Last modified: March 15, 2020

---

# Margins\Padding for widgets

 *  Resolved [bleattler](https://wordpress.org/support/users/bleattler/)
 * (@bleattler)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/)
 * all of the text\images in my widgets sits hard against the left side of the widget
   
   I have searched topics related to this and have worked tirelessly for days but
   cannot seem to get the text\image to move to the right so it sits in the center
   of the widget are. Can someone please assist?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmarginspadding-for-widgets%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Carike](https://wordpress.org/support/users/carike/)
 * (@carike)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12546405)
 * Under /wp-admin/ -> Appearance -> Customizer -> Additional CSS, try entering 
   this:
 * `.widget-area {padding-left: 20px !important;}`
 * Also read this:
    [https://www.w3schools.com/css/css_padding.asp](https://www.w3schools.com/css/css_padding.asp)
    -  This reply was modified 6 years, 4 months ago by [Carike](https://wordpress.org/support/users/carike/).
      Reason: small edit
 *  Thread Starter [bleattler](https://wordpress.org/support/users/bleattler/)
 * (@bleattler)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12546455)
 * Thank you, it worked, oddly there only thing I didn’t have was !important
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12546465)
 * try adding via ‘Additional CSS’:
 *     ```
       #main .widget-area ul {
           padding-right: 10px;
       }
       #primary {
           padding-left: 10px;
           padding-top: 5px;
       }
       ```
   
 *  [Carike](https://wordpress.org/support/users/carike/)
 * (@carike)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12546510)
 * Very glad to hear that it worked! 😀
 * While I don’t normally recommend !important (if people use it in stylesheets /
   inline CSS for themes / plugins it can cause conflicts), it is often necessary
   when making CSS adjustments under Additional CSS in the Customizer, since you
   need to over-write an already-existing default. So, for use cases like yours,
   it is a perfectly legitimate option.
 * Just a note, you may also want to consider changing the padding for the top of
   your widget.
 * Please mark your topics as resolved if any reply in the thread provided a solution.
 * This helps other users with similar problems find solutions more easily.
 *  Thread Starter [bleattler](https://wordpress.org/support/users/bleattler/)
 * (@bleattler)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12570276)
 * Just putting this out there, I posted a question for help and was happily assisted
   and marked my topic as resolved. Out there in cyberland, some trolls from a company
   called Fixrunner, who report themselves as experts in WordPress have relentlessly
   hounded me. I have asked them nicely then not so nicely to leave me alone I did
   not need and was in no way interested in their services. I have received no less
   than 20 emails from these spam monkeys. Just be aware people.

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

The topic ‘Margins\Padding for widgets’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [bleattler](https://wordpress.org/support/users/bleattler/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/marginspadding-for-widgets/#post-12570276)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
