Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #482266

    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!

    #482382

    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

    #490799

    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

    #491445

    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

    #492311

    Hi Elliott,
    It’s working. I hope the client will like it!

    Thanks a lot for the support! : )

    Best regards,

    Érik

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Problem using Google DFP on my site running the Enfold theme’ is closed to new replies.