Get a package of 60+ themes for $24 in our summer sale! Save 75%

Responsive Ads

Forums Theme Support Daily Responsive Ads

This topic contains 7 replies, has 3 voices, and was last updated by  samm 2 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #61831

    samm
    Participant

    I’m publishing header ads using iframe as follows:-

    <div id=”ad” style=”width:468px;height:60px;” >
    <iframe
    src=”http://www.domain/index.html”
    border=”0″
    scrolling=”no”
    allowtransparency=”true”
    width=”100%”
    height=”100%”
    style=”border:0;”>
    </iframe>
    </div>

    It works fine on desktop but does not resize on smartphone. How can I fix this issue?

    #61833

    Tanvir
    Moderator

    Adsense?
    https://support.google.com/adsense/answer/3543893?hl=en
    Site url please?

    Looking for theme customization work? You can hire me: [email protected] / tanvir.pro
    #61834

    Radek
    Participant

    bad idea… code without sizes:

    <iframe
    src=”http://www.domain/index.html”
    border=”0″
    scrolling=”no”
    allowtransparency=”true”
    width=”100%”
    height=”100%”
    style=”border:0;”>
    </iframe>
    #61836

    samm
    Participant
    #61839

    Radek
    Participant

    I can’t help, fixed size in source…

    <div is="gwd-page" id="page1" class="gwd-page-wrapper gwd-page-size gwd-lightbox gwd-div-18om gwd-page gwd-play-animation start" data-gwd-width="468px" data-gwd-height="60px" style="">
     
    #62495

    samm
    Participant

    I managed to resolve by use of <embed src= instead of <iframe src= and some few tweeks on CSS. However, although these banners are clickable on desktop they do not click to the target site on mobile. How do I fix this?

    #62496

    Radek
    Participant

    custom format, I can’t help… best solution – You can create a standard/gif html format

    <a href="http://url.com"><img src="http://image_url.com" alt="alt_text"></a>

    #62500

    samm
    Participant

    Ok.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.