• Resolved Der-Bank-Blog

    (@der-bank-blog)


    Hi

    I inserted 2 Ad Groups below my menu at http://www.der-bank-blog.de with the following code directly in the php file:

    <?php/** Ad Rotate Block unter Menu */?>
    <div id=”center-ad”>
    <div id=”linke_anzeige”>
    <?php echo adrotate_group(4);?>
    </div>
    <div id=”rechte_anzeige”>
    <?php echo adrotate_group(7);?>
    </div>

    It works fine on Desktop, but not on mobile.

    The CSS is the follwoing:
    /* Anzeigen unter Menu */
    #center-ad
    {
    margin: 5px auto;
    width: 1000px;
    }
    #linke_anzeige
    {
    float:left;
    padding: 2px;
    border-width:1px;
    border-style:solid;
    border-color:#000000;
    width:728px;height:90px;
    }
    #rechte_anzeige
    {
    float:right;
    padding: 2px;
    border-width:1px;
    border-style:solid;
    border-color:#000000;
    width:220px;height:90px;
    }
    .clr { clear: both; }

    On mobile all ads are left and right of the Screen. What am I doing wrong?

    Cheers

    Hansjörg

    https://wordpress.org/plugins/adrotate/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    Your theme likely has some responsive stuff in it. Using floats like you do probably causes the adverts to go all the way left and right.
    So for mobile you should add a thingy that prevents that.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Thanks, but I also Need to reduce the size of the Banners coresponding to the size of the display

    Plugin Author Arnan de Gans

    (@adegans)

    Use the responsive or mobile features in AdRotate or that.
    https://ajdg.solutions/manuals/adrotate-manuals/

    Hi Arnan,

    When a user updates/modifies their banner advert, does adrotate put it ‘on hold’ and notify Admin so it can be first checked before being made live?

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hi

    I could not find any auto-resizing Feature. Not even in AdRotate pro.

    It seems you have to provide pics in various sizes which is certainly not optimal. Responsive means, that a pic is delivered in a size adequate to the device automatically.

    Does AdRotate not Support this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to make ad Groups responsive’ is closed to new replies.