Not show code in page

Posted in: Newspaper
Post count: 73

Hello, I was wondering if it might be possible to not show certain ad codes on desktop, but onyl on mobile. I know you have divs and functions for that, but the code is still in the page source.
Is there any way to not show the code for mobile ads at all in the desktop source page? Or is there any way to add the code to files that are only loaded on mobile ?
Thanks.

Post count: 6600

Hi,

The same content is used and loads on mobiles also and the ad divs are just hidden and change the display mode depending on the devices screens width.

You can use just the div you need for ex if you need the banner just on mobiles you can add just the mobile div: http://screencast.com/t/Ozc52TBcXU

You could also do it by detecting each viewport via js and display the banners but you would need custom work for this and we cannot provide any at this time. You could get a freelancer to do it for you: http://studio.envato.com/

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.