Title: Ad Alignment
Last modified: August 19, 2016

---

# Ad Alignment

 *  [gogothoughts](https://wordpress.org/support/users/gogothoughts/)
 * (@gogothoughts)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/ad-alignment/)
 * Hi there, I have a problem with one of my ads. I can’t get it to alignment within
   ad field. I don’t know anything about HTML coding. If somebody look at my blog
   and see…its the hanes ad.
 * [http://www.gogothoughts.com](http://www.gogothoughts.com)
    Thanks

Viewing 1 replies (of 1 total)

 *  [dralezero](https://wordpress.org/support/users/dralezero/)
 * (@dralezero)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/ad-alignment/#post-1489602)
 * In your style.css is `img {padding: 10px}` giving all images padding. The ad 
   is getting pushed by padding. You might want to keep that padding on other images
   so cancel it out in the sidebar. Put this with your other sidebar CSS
 * Removes left and right padding but keeps your ads separated vertically.
 *     ```
       .sb_onleft img{
       padding:5px 0px;
       }
       ```
   
 * same with right if you want them to line up
 *     ```
       .sb_onright img{
       padding:5px 0px;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Ad Alignment’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [dralezero](https://wordpress.org/support/users/dralezero/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/ad-alignment/#post-1489602)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
