Hi,
You can use header style 1 and alter this file and use a custom ad above logo – http://screencast.com/t/reDvpq9o6
div class="span4 td-header-style-1">
<?php
// show the header ad spot
echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');
?>
</div>
Also you need to change header ad to span4 – http://screencast.com/t/u33Ty5eZr
You may also need some css customization – http://screencast.com/t/W7MXCZYxkN
.td-header-style-1 .td-a-rec-id-custom_ad_1 {
margin-bottom: 0px;
}
.td-header-style-1 .td-a-rec-id-header {
top: 0px;
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
The theme doesn’t have this option, you can do this only with custom modifications to the code.
I have used(use) the latest version of the theme 4.6.3 also for above solution – http://screencast.com/t/GQ3AaAbEsW9
Paste your code in custom ad that you use in Theme Panel and control the width/height if you use an adsense code: http://screencast.com/t/vmwKi8FdZ if you use non adsense banners you have to control width/height like in our example for images – https://forum.tagdiv.com/ads/
You should have this result without any css code: http://screencast.com/t/EXswSqw927
I suggest to hire a developer if you don’t know how to do it as we cannot provide any custom work for the moment, we can make only some suggestions. Sorry!
Thanks!
Hallo Alin,
I am right now making my mods to the header, adding the two ads one on the left and one on the right side of the top mail logo.
Please I have this problem. Maybe I should add a second code.
Please have a look to
http://www.powerize.it/test.jpg.
Please what is wrong on it?
Thank you!
Regards
Newspaper ver. 4
Hi,
It should work fine if you have added the above code in header style 1 file – http://screencast.com/t/reDvpq9o6 – http://screencast.com/t/u33Ty5eZr If you have already done this please paste your code in the Custom ad 1 area from Theme Panel and see if appears. Also you can inspect this using browser inspector tool and see if it is there.
Thanks!
Hi,
You have to change the code like I suggested above and use browser inspector tool to see what css you need to change. I have provide you above an example how you can achieve this, but you may need additional css customizations. I suggest to get someone to help you if you don’t know how to do it as we cannot provide any type of custom work at this time, sorry!
Thanks!
Hi,
You have added the custom ad and it is displayed properly, please make sure that you have added the code also for header ad – http://screencast.com/t/1MnCna0iR Also you have added this css to center the logo – http://screencast.com/t/jEA3VuTFppC it should be removed margin auto and float none.
Thanks!
Thank you Alin for your precious support.
I think to have solved it now.
Last question Alin,
I disabled the banner on tablet and phone visualization but in that situation banners are normally displayed.
Indeed here is what happens:
powerize.it/test.jpg
Thank you!
Hi,
You use non-adsense code so if you have to use these divs for specific screen size – https://forum.tagdiv.com/ads-system-full-guide/ For example if you want to display ads only for desktop you can use only this div container and it will be hidden on tablet and phone:
<div class="td-visible-desktop">
<a href="link to" target="_blank"><img src="your image" alt=""></a>
</div>
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hallo Alin,
thank you for your prompt reply.
With <div class=”td-visible-desktop”> it works fine now.
Therefore, these two little banners should be visible in desktop and tablet devices but disappear on phone because of the limited layout.
Is there anything you can advice me to add tablet visualization?
Thank you Alin for your excellent support.
Hi,
Please check the above documentation regarding the ads and use also tablets containers.
<div class="td-visible-desktop">
<a href="link to" target="_blank"><img src="your image" alt=""></a>
</div>
<div class="td-visible-tablet-portrait">
<a href="link to" target="_blank"><img src="your image" alt=""></a>
</div>
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Sorry for inconvenience, I have provided the link for newsmag documentation, please check these div containers for newspaper 4 – https://forum.tagdiv.com/ads/
Thanks!
Hallo Alin,
do not mind. Therefore the correct link you sent did not solve the problem.
I solved it using this modified css
.td-visible-tablet-manchette {
display: none;
/* responsive portrait tablet */
}
@media (min-width: 768px) {
.td-visible-tablet-manchette {
display: block;
}
}
thank you.
Regards.

