Ads div

Posted in: Newspaper
Post count: 64

Hello,

I need to add div tags to ads.

Thus:

<div class = “xxxx”>

<async script src = “// pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”> </ script>
<! – Adaptable ->
<ins class = “adsbygoogle”
      style = “display: block”
      data-ad-client = “ca-pub-xxxxxxxxxxxxxxxxxxx”
      data-ad-slot = “xxxxxxxxxxx”
      data-ad-format = “auto”> </ ins>
<script>
(adsbygoogle = window.adsbygoogle || []) push ({}).;
</ script>

</ div>

Is there any way to do this easily?

Post count: 3343

Hi,

Where exactly do you want to add that? In Theme Panel -> Ads do you want the ads to have a div with a specific class?

Thanks!

Post count: 64

Yes, I want to add a div over ads:
http://screencast.com/t/kjMsllmG

Post count: 780

hi,

please use the text widget or the text with title widget and paste your code there. (of course, place the widget in the sidebar).

Radu O.

Post count: 64

Ok, but as I do “Header ad” and “Article inline ad”?
http://screencast.com/t/phDAGb30L5l

Post count: 6600

Hi,

For the header ad edit each header style or just the one you use: http://screencast.com/t/BgUvl9w3J and add you div container for the header ad like this: http://screencast.com/t/FXvqYbYi8
For the inline ad add it like this: http://screencast.com/t/xz7OQMppCMsQ

Thanks

Post count: 64

Thank you very much!

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