Manual Header Ad

Posted in: Newspaper
Post count: 56

Hey,

I have a non-responsive 728X90 ad code.

I would like to ad the mobile code manualy into the header file – is it possible to do so? And if so, where does the code go in the Header file?

And ofcourse i will add >> class=”td-visible-phone” – so it will only show up on mobile devices.

Thanks

Post count: 7909

Hi,

You can place a custom ad in the code – http://screencast.com/t/KbxovP3K and use only the class for phone in custom ad spot – http://screencast.com/t/vZ2NWOAnW

echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'custom_ad_1'));

Result: http://screencast.com/t/WZQegnHsjdhttp://screencast.com/t/ISasFZqAwVKh

Use this custom css in Theme Panel > Custom Css to remove ad’s margin bottom:

.td-header-sp-recs .td-a-rec-id-custom_ad_1 {
margin-bottom: 0 !important;
}

Thanks!

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