Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 8, 20159 yr 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.
August 9, 20159 yr 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
August 9, 20159 yr 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.
Archived
This topic is now archived and is closed to further replies.