Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
mwcboard Posted August 8, 2015 Posted August 8, 2015 I read this information: And it's not very clear. I created 2 ad units for the top of my site, 1 for desktop 1 for mobile. I used the "ipsresponsive_showDesktop" in the desktop on and the "showMobile" in the mobile one. However, I am getting mobile advertisements on my desktop, specifically when I click on a thread. Do I have to do all of this within the same ad unit? Currently I'm using adsense & "responsive" ads, but I'm moving away from adsense to another advertiser and they do not offer responsive ads, only 728x90 & 300x50. Any help is appreciated.
newbie LAC Posted August 9, 2015 Posted August 9, 2015 Hello, I put 2 images into root directory Then added into template <img class='ipsResponsive_hidePhone ipsResponsive_hideTablet' src='{setting="base_url"}/desktop.png' /> <img class='ipsResponsive_hideDesktop' src='{setting="base_url"}/mobile.png' /> Result
surinp3 Posted August 9, 2015 Posted August 9, 2015 I do this:<div class="adslot_1">ad-code</div><div class="adslot_2">ad-code</div>.adslot_1 { width: 300px; height: 200px; }@media (min-width:500px) { .adslot_1 { width: 500px; height: 90px; } }@media (min-width:1150px) { .adslot_1 { width: 728px; height: 90px; } }@media (min-width:1400px) { .adslot_1 { width: 980px; height: 120px; } }.adslot_2 { width: 300px; height: 200px; }@media (min-width:500px) { .adslot_2 { width: 500px; height: 90px; } }@media (min-width:900px) { .adslot_2 { width: 728px; height: 90px; } }@media (min-width:1100px) { .adslot_2 { width: 980px; height: 120px; } }----------------------------------Because Google Adsense doesn´t really like the system in the post above, due to the max three ads per page.And the above way only hides the ads, but they are still called for if using Adsense.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.