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.
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/JfGky8Dv – http://screencast.com/t/ff21kn4jdpof
Result: http://screencast.com/t/ltoVVENqX
Thanks!
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?
Hi,
If your ad is responsive try to paste only the code there or use a div without that class td-visible-desktop
Thanks!
I have checked again your site and the ad appear also on small screens – http://screencast.com/t/gQQebmTQd
Please empty cache.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
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.
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/wmmh1E1lXjl – http://screencast.com/t/sawUggh8wp0L
Thanks!
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.
Here is a screenshot
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!