Jump to content

Ad Code to show only for desktop version


Saurabh Jain

Recommended Posts

Posted

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.

 

Posted

​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 

Posted

Wrap it in

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

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

​then we cannot have link ads on sites powered by  invision power boardd 4 

Archived

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

  • Recently Browsing   0 members

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