Title: Ads alignment
Last modified: August 19, 2016

---

# Ads alignment

 *  Resolved [andybadidis](https://wordpress.org/support/users/andybadidis/)
 * (@andybadidis)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/)
 * Hi, this is my blog [http://www.lifepath4u.com](http://www.lifepath4u.com)
 * As you see at the top leaderboard banner, there is a blank space on the left 
   and right of the ad. How do I remove that?
 * Also, I have the Custom Google Search on my header, how to I align it to the 
   left?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969533)
 * >  there is a blank space on the left and right of the ad. How do I remove that?
 * there is nothing there to remove.
    what would you like to achieve?
 * > I have the Custom Google Search on my header, how to I align it to the left?
 * looks left aligned already.
    if you want it really left on that line, maybe you
   need to add it before the other search box.
 * what is the code of that area?
    (please use the [http://pastebin.com/](http://pastebin.com/)
   for any code longer than 10 lines)
 *  Thread Starter [andybadidis](https://wordpress.org/support/users/andybadidis/)
 * (@andybadidis)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969643)
 * When a white leaderboard banner shows on top you see no difference because the
   sides within the ad slot are also white. But when a dark banner shows then there
   is great difference because the sides within the ad slot are still white. Is 
   there a way I can at least change the color of the ad slot to black or make the
   white space disappear?
 * Sorry about the Custom Google Search. I meant to align it to _the right_. Once
   I have aligned it below the other search box but a black filled background border
   showed horizontally (by default) across the whole header. So I either want to
   align it to the right because the Menus also use a black border. But it will 
   be better if there was a way to align in below the other search box without that
   black border showing.
 *  Thread Starter [andybadidis](https://wordpress.org/support/users/andybadidis/)
 * (@andybadidis)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969656)
 * well I managed to fix the Custom Google Search..
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969682)
 * the ad araa has a css id which you could use to add a background color:
 * `#google-1 { background: #123edf;}`
 * try and add this anywhere to style.css of your theme.
 * [http://en.wikipedia.org/wiki/Web_colors](http://en.wikipedia.org/wiki/Web_colors)
 *  Thread Starter [andybadidis](https://wordpress.org/support/users/andybadidis/)
 * (@andybadidis)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969683)
 * thank you so much! that really solved my problem. I changed the color to #CCCCCC
   which is what I think is best.
 * Thanks again!

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

The topic ‘Ads alignment’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [andybadidis](https://wordpress.org/support/users/andybadidis/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/ads-alignment/#post-1969683)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
