Two problems with ads

Posted in: Newspaper
Post count: 53

Hello,

I want to add a Google AdSense banner above an article-block (block 8). When I have auto size there is a 300×250 ad. So I have choose the size 468×60, but I can’t center this ad. I have used center-tags in the Theme Panel, but it does not work:

http://imgur.com/3xhQ1Ty

[vc_row][vc_column width="2/3"][td_ad_box spot_id="custom_ad_1"][td_block8 category_id="1" limit="16" custom_title="News" hide_title="hide_title" ajax_pagination="load_more"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-default"][/vc_column][/vc_row]

second question: Is it possible to add ads between title and breadcrumbs?

Post count: 3343

Hi,
1. Give me a link to see the banner, can be center via CSS, I will try to provide you a CSS.

2. Yes.
Add this code
<?php echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header')); ?> like here: http://screencast.com/t/3KepYp5dgUB

I use here the header spot.

Then add this CSS in theme panel -> Custom CSS

.td-page-wrap .td-g-rec-id-header .adsbygoogle {
    position: static;
}

Result: http://screencast.com/t/Q4JhQMpe

Thanks for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.