Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 25, 20159 yr I want to place a ad code (Google adsense link ads) - and it has to be only on desktop viewso how this can be done...Thanks in advanceRegardsSaurabh
May 25, 20159 yr 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.
May 25, 20159 yr 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.
May 25, 20159 yr 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
May 25, 20159 yr Author 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.