Jump to content

Ad Code to show only for desktop version


Saurabh Jain

Recommended Posts

Wrap it in

<div class="ipsResponsive_hideDesktop"></div>

​That's incorrect. That will show only whilst the skin is being responsive (IE; in Mobile Mode)

To have it display only on desktop mode; you'd need to wrap it in this code (replace <!--Your Adcode Here--> with your adcode.)

<div class="ipsClearfix ipsResponsive_showDesktop">
    <!--Your Adcode Here-->
</div>

Keep in mind that it is agains Adsense rules to hide ad units, unless they are responsive.

​However I don't know about this one. Kirill N might be correct here. I'd recommend checking with the Adsense rules about to go about this.

 

Link to comment
Share on other sites

​That's incorrect. That will show only whilst the skin is being responsive (IE; in Mobile Mode)

To have it display only on desktop mode; you'd need to wrap it in this code (replace <!--Your Adcode Here--> with your adcode.)

<div class="ipsClearfix ipsResponsive_showDesktop">
    <!--Your Adcode Here-->
</div>

Oops, that's the code I meant to post, I wrote "hide" instead of "show" for some reason 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...