Need Ads Header above

Posted in: Newsmag
Post count: 18

Hello,
Ads need to place a Header above . At the top of the web .
It’s possible? It is very important to me.

Post count: 6535

Hi

Please provide your site url so I can inspect it closer and get back to you with a more accurate answer.
Thanks!

Post count: 18
Post count: 6535

HI

To achieve the desired result you need to edit the file corresponding with header style used and move the indicated code like here: http://screencast.com/t/DeYdseojd You will also need this css in theme panel > custom code > custom css: http://screencast.com/t/PQwVcDkE This was an example for header style 1.

.td-header-sp-rec {
float: none!important;
margin-left: auto;
margin-right: auto;
}

Let me know how it goes.
Thanks!

Post count: 18

Thanks for the reply .

And is it possible to put the Ads above the head and keep the one below ? And the two with different content ?

Post count: 6535

Hi

Yes it is possible. Follow this steps:
– revert back the changes I’ve indicated in my previous message.
– add the ad code in one of theme’s custom ad spots
– create a new page and add an ad-block on it, select in ad-block the custom ad-spot which hold ad’s code: http://screencast.com/t/T9QrVpFshiG
– press the CLASSIC MODE button and copy the shortcode: http://screencast.com/t/09LWoaPqeUA
– edit the file corresponding with header style used and add this code here: http://screencast.com/t/lqG1ycAYcKhttp://screencast.com/t/L4vk5oDVLPC

<?php echo do_shortcode('[vc_row][vc_column][td_block_ad_box spot_id="custom_ad_1"][/vc_column][/vc_row]'); ?>

In above example I’ve used custom ad 1 but you can use any custom ad spot from theme panel.
Thanks!

Post count: 18

Thank sorted.
Now I have another inquiry announcement. Is it possible to Ad UN solo news of a category?
Sorry for the inconvenience , but it is very important to us .
Thanks for the patience .

Post count: 6535

Hi

I am not very sure what you mean so please provide more specific details about the desired result, also a screen pointing the desired result would help, so I can inspect it closer and get back to you with a more accurate answer.

Thanks!

Post count: 18

Sorry I did not explain very well.
I have several questions :

1. Ads. I mean that it can determine an ad only to a particular category of news . Only appears on the news of that category , but not in the other news of other categories .

2. You may display the menu as well : the subcategories above and images below ?
http://eldeportedealbacete.es/wp-content/uploads/2016/08/menu.png

Thank you so much.

Post count: 6535

Hi

1. Do you want the header ad to be displayed only in posts from a specific category? If so that can be achieved by adding a condition in ads.php file: http://screencast.com/t/4jbC6dwEdvLI

if (in_category('category-slug')) {
echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'header', 'spot_title' => $tds_header_ad_title));
}

You just need to add category’s slug, name or id as a parameter for in_category() function and the add will be displayed only on posts which belongs to given category.

2. This can be achieved only with a change in theme’s code. You need to edit: td_block_mega_menu.php file and move the indicated line like here: http://screencast.com/t/Uj3bnfxkTuL You will also need this css in theme panel > custom code > custom css: http://screencast.com/t/Fvbm7xII7I

.td_mega_menu_sub_cats {
float: none;
}

Thanks!

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