Hi, i have a problem using Google DFP on my site. When you look at my site on an iPad or if you resize the screen on a desktop computer, you see part of the ad being cropped. Do you know how i can get rid of this problem?
Thanks a lot!
Hey Érik!
Hmm, not sure if there is anything we can do about that. We can set the overflow on the sidebar to “visible” instead of “hidden” but then your sidebar would display beneath your main content and even if we did that the image would still be running off the side of the page.
Would you like to hide it on smaller screens?
Best regards,
Elliott
Hi Elliott,
Thanks for the reply. Would it be possible to have the site react on a tablet as it does on a cell phone. I can’t hide the ad, but if i can send it below the content it would be ok (as it is on a smartphone).
Thanks a lot! : )
Érik
Hey!
In the /enfold/css/layout.css file on line 3283 you should see this.
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
Try increasing the value there to 989 or however wide your tablet is.
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 989px) {
Best regards,
Elliott
Hi Elliott,
It’s working. I hope the client will like it!
Thanks a lot for the support! : )
Best regards,
Érik