Sidebar ad issues

Posted in: Newspaper
Post count: 31

Hi

I have 2 sites which i am making fairly identical

The sidebar has ads – some are 160 and some are 300 width

one site if i place the code for 160 ad it shows as 160 fine

the same code on the other site shows it at 324 – full width of sidebar

both sites are 6.5.1

when i use the inspect element the wrong site has this

i have taken the code off the good site as it was just to test the code – the good site is eastmidlandsbusinesslink.co.uk and the wrong site is not live yet http://www.fdiforum.net/mag

style.css:19573
.td-a-rec-id-smart_list_6 img,
.td-a-rec-id-smart_list_7 img,
.td-a-rec-id-smart_list_8 img,
.td-a-rec-id-post_style_12 img,
.td-a-rec-id-sidebar img,
.td-a-rec-id-content_top img,
.td-a-rec-id-content_inline img,
.td-a-rec-id-content_bottom img,
.td-a-rec-id-custom_ad_1 img,
.td-a-rec-id-custom_ad_2 img,
.td-a-rec-id-custom_ad_3 img,
.td-a-rec-id-custom_ad_4 img,
.td-a-rec-id-custom_ad_5 img {
width: 100%;

when you untick the 100% width the ad appears normal size

can anyone shed some light on this

Post count: 22421

Hello,

Our theme was designed to work with adsense by default. So only adsense code will work when entering it simply in the theme panel. For other ads we recommend using this method: https://forum.tagdiv.com/using-other-ads/
Try using the div’s provided and check your ads again.

Let me know how it goes!
Thank you.

Post count: 31

that has not worked, although i dont know why it is not working on one and is on the other site

Post count: 22421

Hello,

It seems that the method you use for ads is different from one site to another. On the first one you use this class: http://screencast.com/t/0BkSkX9rKCe3 and on the second you use this one: http://screencast.com/t/lfhybkEJY
These are custom classes you use for your adds that are not generated by the theme. When using custom ad spots, the theme css does not apply so make sure you use the same method in both cases if you want to have the same results.

Thank you!

Post count: 31

the ad code is below

the classes come from the theme

<!--/*
*
* Single 2
*
*/-->

  • This reply was modified 10 years by haychart. Reason: showed the ad not the code
  • This reply was modified 10 years by haychart.
  • This reply was modified 10 years by haychart. Reason: cant get it to show code
Post count: 31

Its the Sidebar ad position

As you can see, I have created more custom ad positions for the sidebar of each category

i created a home sidebar and the code now works fine

cheers

mark

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