Hi,
I would like to replace the theme panel header ad with custom ad using a shortcode. Where can I add this code?
I am using a plugin where I can choose which category I like to designate the shortcode ad.
Knowing where to make this change will be very helpful
Thanks
Hi
You can use the shortcode generated by the plugin in header ad box from theme panel, the theme will run do_shortcodes() function on the shortcode: https://forum.tagdiv.com/ads-system-full-guide/
Thanks!
Hi Andrei,
I posted DFP code into the theme panel ad boxes and the padding for the header and sidebar ads are off.
Can you take a look and see why the ads are not padded correctly?
Hi
The theme it’s designed to handle just adsense, img/flash banners ad codes you can find a detailed explanation in this regard in our ads guide here: https://forum.tagdiv.com/ads-system-full-guide/
We recommend using those div’s from our docs to place other types of banner and the padding property it’s set on img tags so because you’re using a different ad system than ad-sense the theme’s css it’s applied only on ad classes, not to the ad content.
You can also try to use a plugin to render your ad code like suggested in the documentation.
Try this custom css to padding the header and sidebar ads:
.td-header-sp-ads .td-a-rec {
padding-top: 10px;
padding-bottom: 10px;
}
.td-a-rec-id-sidebar{
padding-left: 20px;
}
You can modify the values as you like, here id the ruslt: http://screencast.com/t/FqZ8Mb8r3z
Thanks!
