Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense responsive ad, how to align

         

jukka79

3:18 pm on Aug 19, 2014 (gmt 0)

10+ Year Member



Hi,

I am new to this forum, hope this comes to right slot.

I recently replaced 728 adsense banner to responsive ad unit.
It works nicely but it has one problem.
When the screen is wide enough, and the ad area is more than 728 pixels, the image ads are centered. Text ads are aligned left and are fine but images are centered. I can't find a solution for this to align responsive ad unit images to left.

Because of this, image ad types have now lower CTR % compared to fixed 728. Ofcourse this only happens when user has so big screen that the ad div goes more than 728, no problem on mobile but desktop.

Does anyone know how to align responsive ad units ?

not2easy

6:44 pm on Aug 19, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi jukka79 and welcome to the Forums. To limit the size and alignment of your ad, it needs to be in a container element such as a paragraph or div. Assign a class to the container element, put a max-width limit on the container for the responsive ad and left align the contents, all in your css.