Add image to header

Posted in: Newsmag
Post count: 20

Hi! i have added this code to the header ad: hämtning

But it does not show up, is it because of the code? can i add an image to the header instead of an ad?

Post count: 6535

Hi

On your site the header ad section appear as empty: http://screencast.com/t/gjvBk8fese I am not sure what code you inserted in header ad spot, please provide your code via pastebin.com if is possible. The theme was designed to work with ad-sense code, and in case you’re using banner ads here it’s a guide about that: https://forum.tagdiv.com/ads-system-full-guide/

If this is not what you mean please provide more specific details.

Thanks!

Post count: 20

Its a simple image code, so basically what i want to do is add an image. how should i do because i can not get it to work with the plugin your theme has.

Post count: 20

And the reason you didnt see the code was because i removed it, because it was showing as text in the mobile version.

Post count: 6535

Hi

Please make sure you added a correct image source, also the html code it’s added properly like in this example:

<div class="td-visible-desktop">
 <a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg" alt=""></a>
</div>
<div class="td-visible-tablet-portrait">
 <a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec468.jpg" alt=""></a>
</div>
<div class="td-visible-phone">
 <a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec320.jpg" alt=""></a>
</div>

Also try this without any plugins active, leave just Visual Composer active, clear all caches and test again.

Thanks!

  • This reply was modified 10 years by Andrei L..
Post count: 20

Hi! added it as you said, deactivated the plugins but it still does not work. check it out here: (added it to before content add)

Post count: 20
Post count: 20

tagdiv

Post count: 6535

Hi

Please provide the code that you tried via http://pastebin.com/ so I can inspect it.

Thanks!

Post count: 20
Post count: 20

Hold on! do the ads get blocked by ad blocker?

Post count: 20

problem fixed then. can i get it to not be blocked by ad blocker?

Post count: 20

one thing, ive added this link to the a href: soccerbox.com but it doesnt redirect me to it. how should i do?

Post count: 6535

Hi

Paste the code below in theme’s ad spot like here: http://screencast.com/t/bKuExlqRJw- http://screencast.com/t/mGR3eUjbY

<div class="td-visible-desktop">
 <a href="http://www.soccerbox.com/" target="_blank"><img src="http://acmilannewsnow.com/wp-content/uploads/2015/08/hämtning2.png" alt=""></a>
</div>
<div class="td-visible-tablet-portrait">
 <a href="http://www.soccerbox.com/" target="_blank"><img src="http://acmilannewsnow.com/wp-content/uploads/2015/08/hämtning2.png" alt=""></a>
</div>
<div class="td-visible-phone">
 <a href="http://www.soccerbox.com/" target="_blank"><img src="http://acmilannewsnow.com/wp-content/uploads/2015/08/hämtning2.png" alt=""></a>
</div>

Regarding the adblock question please check this topic: https://forum.tagdiv.com/topic/anti-adblock-script-to-my-wordpress-plugin/

Thanks!

  • This reply was modified 10 years by Andrei L..
Post count: 20

Hi! which code should i add to get it to show on both desktop and mobile?

Post count: 6535

Hi

I’ve checked your site and noticed that the td-visible-phone class is missing when visit the site on mobile devices, so please make sure you add the code as I provided above: http://screencast.com/t/7cYkcNiLlvT otherwise the ads won’t be displayed: http://screencast.com/t/T2Oc3hCjGhttp://screencast.com/t/ubTFKB76

Thanks for the message!

Post count: 20

Hi, having an issue with my site sempremilan.com since updating to version 4. The header image is positioned way much to the left so it covers part of the logo. Please help

Post count: 23312

Hello isakmoller,

I have inspected your header section and it seems to be a strange issue. Alos, notice that you are using some untested plugins which can interact with the theme core files and cause a lot of unknown issues, like jet pack-photon. Remove all of these, clear all the caches and check the results. After this, if the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect it closer your setup page.

Thanks for your understanding!

Post count: 20

Still is the same. Will send you an email now

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