Zone

Posted in: Newspaper
Post count: 7

How increment new zone above top menu? Thanks

Post count: 3343

Hi,
I’m not sure what you mean, can you give me more details, or show me in a screenshot? Do you want a space above the top menu?

You can use this css to add a space, add it in Theme Panel -> Custom Code -> Custom CSS section

.td-header-top-menu-full {
margin-top: 50px;
}

Thanks for the message!

Post count: 7

Sorry, I have not explained well. I mean you can create a new zone above the top menu, for example advertising.
Above or below.

Post count: 3343

Hi,
Yes. Edit the header.php file and add this line of code like here: http://screencast.com/t/1nQV0lZzuLqD

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

Then go to Theme Panel -> Ads -> Custom Ad 1 and paste you ad code there. Also probably you need some CSS to adjust the space.

Post count: 7

Thanks Marius, but when update theme, It will break?

Post count: 22421

Hello,
It will break in an update only if the header.php file will be replaced. To be on the safe side, you can use a child theme to make your modification: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!

Post count: 7

Marius, Bogdan, It would be a good idea to get into the visual composer header.php

Post count: 22421

Hi,
Unfortunately there is no way to add it from visual composer outside of the page content. Anything other than that needs to be edited from the theme files. Unfortunately as the theme has no option for it, this is the only way to do it. The theme provides only one ad spot in the header, positioned different for each header style.
Thank you!

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