Title: Remove left padding
Last modified: April 8, 2018

---

# Remove left padding

 *  Resolved [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/)
 * How can I remove left padding that is applied automatically to ALL lists?

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

 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10165739)
 * Browsers will generaly apply left padding to `<ul>` and `<ol>` elements. You 
   can avoid it by applying the following CSS on the list element:
 *     ```
       padding: 0;
       list-style-position: inside;
       ```
   
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10170846)
 * I’m using this code:
 * .ul, .ol {
    padding: 0; list-style-position: inside; }
 * Same padding problem.
 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10170990)
 * Remove the dots before `ul` and `ol`
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10171029)
 * Did it.
    Same problem.
 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10171197)
 * Ok then, try this:
 *     ```
       padding: 0 !important;
       list-style-position: inside !important;
       ```
   
 * If this doesn’t work it means there is some other CSS code on your page that 
   overrides list styles. You would then have to find that code and either change
   or delete it.
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10171222)
 * Same problem.
    I can’t remove padding from LCP listings.
 *  Plugin Contributor [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * (@zymeth25)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10171499)
 * Ah, one more thing I forgot about. Set `padding: 0;` on `<li>` as well.

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

The topic ‘Remove left padding’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [zymeth25](https://wordpress.org/support/users/zymeth25/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/remove-left-padding/#post-10171499)
 * Status: resolved