1 reply [Last post]
canes560's picture
Last seen: 6 years 29 weeks ago
Timezone: GMT-5
Joined: 2014-11-10
Posts: 3
Points: 6

I am transferring to DFP as a new ad server on the sites I work on & I am trying to get them centered in the Latest section. The div class is feature_box ad. There are 3 of them & I have been trying to override the style using Custom CSS in Wordpress but it is not working. When I inspect the element & change the element.style to margin-left: auto;
margin-right: auto; it centers it but its not working when I plug it in custom CSS. Can someone tell me what i am doing wrong here.

Site: http://wp.bbgi.com/

Tony's picture
Last seen: 4 days 2 hours ago
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi canes560, The adds are

Hi canes560,
The adds are within an iframe.
You need to target the div containing the iframe.