Ads disappear on mobile

Posted in: Newsmag
Post count: 104

For some reason the ads that show up on desktop are not appearing on mobile version. These same ads work fine on another site of mine using the same theme on mobile. Also I’ve made sure that ads are not disabled on mobile in theme panel.

http://www.tbreak.com/movies

Post count: 7909

Hi,

I have checked your site and you use your code in this div – http://screencast.com/t/boEHllrjKND to display it like we recommend to display image banners – https://forum.tagdiv.com/ads-system-full-guide/
Try to paste your code directly in header ad section without any div or use all those divs also for tablets and phones.
The css code is added automatically to that class on mobile devices – http://screencast.com/t/JfGky8Dvhttp://screencast.com/t/ff21kn4jdpof
Result: http://screencast.com/t/ltoVVENqX

Thanks!

Post count: 104

Thanks- a bit of confusion. When I’m adding the code for the header banner, do I put in the code three times in that space with separate divs each for desktop, tablet and mobiles?

Post count: 7909

Hi,

If your ad is responsive try to paste only the code there or use a div without that class td-visible-desktop

Thanks!

Post count: 104

With just a plan div, the ad doesn’t show up on mobiles

Post count: 7909

I have checked again your site and the ad appear also on small screens – http://screencast.com/t/gQQebmTQd
Please empty cache.

Thanks!

Post count: 104

Yes- it seems to be working. Maybe I was just loading from cache before. Thanks for your help. Just one last question- how can I centre these ads? They’re left aligned.

Post count: 7909

Hi,

What do you mean to center the ad, please provide more details, as I have checked and it is centered – http://screencast.com/t/wmmh1E1lXjlhttp://screencast.com/t/sawUggh8wp0L

Thanks!

Post count: 104

Ok- maybe it’s a geo ad that’s not showing up for you but in the sidebar I have a 300×250 ad. If that ad is flash, it sticks to the left margin. If it’s jpg, it’s size expands to fill the entire container. I would like to make sure that the add doesn’t exceed the 300 pixels width and is centered.

Post count: 104
Post count: 7909

Hi,
You can add a class to the div container of the ad code, I said to not use only td-visible-desktop if you don’t use also all those divs for tablet and phone because it will be hidden on those devices. So you can use a class (replace bellow div with your class) and adjust via css: http://screencast.com/t/RijD3nlCX5

.td-a-rec-id-sidebar div {
display: table;
margin-right: auto;
margin-left: auto;
}

If it is an image you can use those divs for desktop, tablet, phone – https://forum.tagdiv.com/ads-system-full-guide/ and use different image size.

Hope this helps!

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