Forum Moderators: martinibuster

Message Too Old, No Replies

Google Switching Ad Size

What Google decided I should use is screwing the entire page up!

         

azlinda

8:10 pm on Aug 10, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a 300x250 ad at the bottom of the second (content) column. That particular ad is messing with the entire page and throwing it off. It looks absolutely HORRIBLE. I inspected the element, and here is what it shows:

<ins id="aswift_1_anchor" style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:980px;background-color:transparent">

980 pixels wide? I don't know how to remedy this except to remove the Google ad.

netmeg

12:48 pm on Aug 11, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is your ad unit set to responsive, or a fixed sized?

azlinda

8:23 pm on Aug 11, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It was set to responsive, netmeg. The only change I ever saw it make on the site was from a 300x250 to a 300x600 until this happened.

bhukkel

8:34 pm on Aug 11, 2015 (gmt 0)

10+ Year Member



You need to set an explicit width on the parent div.

netmeg

12:18 am on Aug 12, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yep; that should fix it. Put it in a div that's set to 300x250. A responsive unit will flesh out the max space it's given.

azlinda

1:47 am on Aug 12, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks, bhukkel and netmeg. I'll do that.