Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #95480

    adrian
    Participant

    Hi, what file do I have to effect to place an Adsence Sticky Footer on mobile?

    Thanks,

    Adrian

    #95501

    Christian
    Moderator

    Hey Adrian,

    We’re sorry but we do not know the instructions on using that plugin therefore we couldn’t give you a solution. You can try placing it in a footer widget. Most sticky plugins are fixed positioned so it doesn’t matter where you place them.

    Thanks.

    #95604

    adrian
    Participant

    Hi, thanks for that info. I was just wondering in what file and where I would have to place my adsenese code to have a “sticky” ad at the bottom of my mobile screen like the example below:

    http://images.seroundtable.com/google-mobile-ad-click-confirm-1355750876.jpg

    Any info would be much appreciated.

    Thanks again,

    Adrian

    #95606

    Christian
    Moderator

    Hey Adrian,

    You can wrap your code using the Visibility shortcode in the widget like

    [visibility] Your code [/visibility]

    See http://theme.co/x/demo/integrity/1/shortcodes/responsive-visibility/

    Hope that helps. 🙂

    #95711

    adrian
    Participant

    Hi, Thanks. If I want this to show in every post, where do I put the code? In the footer maybe? If so, after what line of code?

    Thanks,

    Adrian

    #95715

    Christopher
    Moderator

    Hi Adrian,

    Please create a Child Theme using this guide:

    http://theme.co/x/member/kb/how-to-setup-child-themes/

    Then copy over file below:
    x/framework/views/global/_footer.php
    to:
    YOURCHILDTHEMENAME/framework/views/global/_footer.php

    Then try to add your code on line 14.
    Please follow the link below for more detailed information:

    http://theme.co/x/member/kb/customization-best-practices/

    Hope it helps.

    #95716

    mrunal
    Participant

    in footer widget but use “Conditional” visibility option available in the jetpack plugin- it’ll only show the given widget in posts and not in home page, Archive pages etc..

    + do test with some demo image/colorful DIV first, BEFORE you actually copy adsense code into it.
    because google has a nasty habit of banning adsense for trivial issues.

    #95717

    mrunal
    Participant

    this is a blank code advertisement terry, use it for testing, change width height according to your requirements

    
    <div class="ad-banners-hrz" style="background-color:red; width:728px; height:90px;">
    <h5>TEST ADVERT 336x280 - <a href="http://www.reviewmylife.co.uk/">reviewmylife</a></h5>
    
    </div>
    #95720

    Christopher
    Moderator

    hanks Mrunal for the help 🙂

    #95999

    adrian
    Participant

    Thanks a bunch guys! You rock! : )

    #96009

    Christian
    Moderator

    You’re welcome Adrian.