Hi
To add a title for ads from post content you need to edit td_module_single_base.php file and add this code like here: http://screencast.com/t/4k3201856
'<div class="td-ads-title"> Advertissement </div>' .
Also you will need this custom css in theme panel > custom css: http://screencast.com/t/CuPlBVdR6l
.td-ads-title{
margin-left: auto;
margin-right: auto;
display: table;
}
Let me know how it goes.
Thanks!
Thanks for this.
How do you do this for the Header ad? Not inline.
Thank you.
-
This reply was modified 10 years by
crazydiver.
Hi
Bogdan replied you here: https://forum.tagdiv.com/topic/add-the-text-advertisment-in-inline-header-ads/
Thanks!
Hello,
This works except for the inline side ad title text is in the center of the article. Any way to center it above the side ad? See here for more info: http://dev.pacifictribune.com/2016/07/05/extremely-careless-but-fbi-advises-no-charges-for-clintons-emails/
It’s alright. I didn’t realize that Google has relaxed the requirement to label ads so I’ve solved my problem by removing all ad labels.
Thanks for getting back to be though!