Ads responsive using javascript?

Posted in: Newsmag
Post count: 115

Hi friends

This code only to image?
<div class=”td-visible-desktop”>

</div>
<div class=”td-visible-tablet-portrait”>

</div>
<div class=”td-visible-phone”>

</div>

My ads are like this
<script>
ad.printGAds([728, 90], ‘Superbanner’);
</script>

works inside in your code?

Post count: 6600

Hi,

The theme’s system detect’s and renders the following ad codes:

Google adSense – If you enter a google adsense code, the theme will make it responsive and the ad will fill the available space.
Simple ad code (js/flash/images) – this is rendered as entered by the user
[shortcodes] – the spot will run do_shortcodes() on the ad. Using shortcodes you can add adRotate ads to that spot.

Not sure if your js ads are working but you could give them a try. You could also try to use a plugin to display your ads.

Thanks

  • This reply was modified 11 years by Lucian.
Post count: 115

Sorry
I can’t understand

Post count: 6600

Hi,

Try your ad codes in theme’s ad spots and then check your front-end to see if they are rendered and displayed. If not then you need to customize theme’s code to support your ads code or try to find and use a plugin for it.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.