Title: Padding Gone Wrong
Last modified: August 22, 2016

---

# Padding Gone Wrong

 *  Resolved [kmarionuofm](https://wordpress.org/support/users/kmarionuofm/)
 * (@kmarionuofm)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-gone-wrong/)
 * I can’t figure out what the social network sharing is padded so much on the homepage.
   But perfect on the post.
 * I tried to inspect the element. but even with zero padding its still looks like
   it has a 5 pixel padding
 * Compare this [http://tagyoursponsor.com](http://tagyoursponsor.com) to [http://tagyoursponsor.com/?p=17](http://tagyoursponsor.com/?p=17)

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

 *  Thread Starter [kmarionuofm](https://wordpress.org/support/users/kmarionuofm/)
 * (@kmarionuofm)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-gone-wrong/#post-5612991)
 * also on mobile. it looks perfect.. so the issue is only on the homepage
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-gone-wrong/#post-5612997)
 * The issue is with this line of CSS:
 *     ```
       .home img,
       .search img,
       .archive img {
       	float: left;
       	max-width: 50%;
       	margin: 0 1em 1em 0;
       }
       ```
   
 * which adds an additional margin to all images on your home page. You can fix 
   this with a bit of custom CSS. If your theme has a built-in custom CSS option,
   use it; otherwise, get a [custom CSS plugin](http://wordpress.org/plugins/search.php?q=custom+css)
   and put
 *     ```
       .ssba img {
       margin: 0;
       }
       ```
   
 *  Thread Starter [kmarionuofm](https://wordpress.org/support/users/kmarionuofm/)
 * (@kmarionuofm)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/padding-gone-wrong/#post-5612999)
 * Totally worked. Thanks Stephen. I owe you one brother.

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

The topic ‘Padding Gone Wrong’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/the-j-a-mortram/1.26/screenshot.
   png)
 * The J A Mortram
 * [Support Threads](https://wordpress.org/support/theme/the-j-a-mortram/)
 * [Active Topics](https://wordpress.org/support/theme/the-j-a-mortram/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/the-j-a-mortram/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/the-j-a-mortram/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [kmarionuofm](https://wordpress.org/support/users/kmarionuofm/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/padding-gone-wrong/#post-5612999)
 * Status: resolved