Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Saurabh Jain Posted May 25, 2015 Posted May 25, 2015 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
Kirill N Posted May 25, 2015 Posted May 25, 2015 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.
Tripp★ Posted May 25, 2015 Posted May 25, 2015 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.
Kirill N Posted May 25, 2015 Posted May 25, 2015 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
Tripp★ Posted May 25, 2015 Posted May 25, 2015 Whoops. Lol - in all honesty I've done it before so I'm not a saint either. xD
Saurabh Jain Posted May 25, 2015 Author Posted May 25, 2015 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.