Title: Align adense adds
Last modified: August 22, 2016

---

# Align adense adds

 *  [mbenesch](https://wordpress.org/support/users/mbenesch/)
 * (@mbenesch)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-adense-adds/)
 * Hi I was wondering if there is a way to align adsense adds?
    You can see in my
   [blog](http://www.everymanmustknow.com/easily-fill-entire-tent-light-camping/)
   I have two problem ads, the one on the right hand side in a text widget, and 
   the ad right after the page content. I want to align them to the left or center
   to make the page look nicer.
 * Thank you for any and all help

Viewing 1 replies (of 1 total)

 *  anonymized-13749270
 * (@anonymized-13749270)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-adense-adds/#post-5544128)
 * you can not align those ads using `float` or `text align`. instead you can use`
   margin`.
    for sidebar 250×300 ad ( i guess ), in the text widget put the adsense
   code inside this HTML code :
 *     ```
       <div style="margin: -28px;">
       AdSense Ad Code here
       </div>
       ```
   
 * and as for 728×90 content Ad, put it inside a div , like the following :
 *     ```
       <div style="margin-left: -25px;">
       AdSense Ad Code here
       </div>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Align adense adds’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: anonymized-13749270
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/align-adense-adds/#post-5544128)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
