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!
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/lqG1ycAYcK – http://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!
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.
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!
