removing adsense ads from my blog in Responsive mode

Community Forums Forums Design Tips and Tricks removing adsense ads from my blog in Responsive mode

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  nakamoura 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #65914

    Arpan
    Participant

    Hello,
    I use some vertical banner adsense advertisement above and below my posts. As, this ads are not responsive. i dont want to show this ads in responsive mode.
    I use Quick adsense plugin to ace ads on my blog
    Let me know what to do?

    My blog urk – http://www.bloggingtuts.com

    http://bloggingtuts.com/
    #68185

    cdils
    Participant

    I’d recommend throwing a unique <div> class around your ad, such as:

    <div class="ad-block">
    <!--all your ad code here -->
    </div>

    And then in your media queries you can just hide that div, such as:

    .ad-block {
    display: none;
    }

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #72467

    nakamoura
    Participant

    Use adsense asynchronous code instead, ad will be responsive on initial page load, plus your website will gain in performance (speed) because it’s using asynchronous code, read this:

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

You must be logged in to reply to this topic.