Saurabh Jain Posted May 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
Kirill N Posted May 25, 2015 Share 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. Link to comment Share on other sites More sharing options...
Tripp★ Posted May 25, 2015 Share 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. Link to comment Share on other sites More sharing options...
Kirill N Posted May 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
Tripp★ Posted May 25, 2015 Share Posted May 25, 2015 Whoops. Lol - in all honesty I've done it before so I'm not a saint either. xD Link to comment Share on other sites More sharing options...
Saurabh Jain Posted May 25, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.