- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Hi,
Unfortunately there is no quick solution as the theme doesn’t have a second menu option and you will need custom modifications for this. You can register a new menu and use it, but you need to alter the code and if you don’t have basic knowledge I suggest to hire a freelancer to do it for you as we cannot provide custom work.
This tread can be useful to add and register a new menu – https://forum.tagdiv.com/topic/conditional-logic-for-menu/#post-66025
Or you can use header style 12 to have the top menu bellow the main menu – http://screencast.com/t/Qb2ko0ctHE – http://screencast.com/t/A1s0SgTPk
Thanks!
Hello Ben,
Please provide more details to the padding you want to reduce, because this is different for all header styles. Please specify the header style used and maybe a link to your website so we can create the CSS code for your site directly. Both of your requests are possible with custom CSS.
For the second request try this CSS in the theme panel:
.td-main-content-wrap, .type-post{
background-color: rgba(70,86,175,0.55)!important;
}
result: http://screencast.com/t/6hPWS6lOb
Thank you!
Hi
The links you provided are not working: http://screencast.com/t/tbXS2L2E6mB – http://screencast.com/t/fIYIAm8xSSo
For banner ads please check our documentation: https://forum.tagdiv.com/newsmag-header-ads/ Note that for banner ads the options regarding ad’s size from theme panel does not apply so you will need to set your image size from css or using a image editor like photoshop.
Let me know how it goes and if you still need assistance on this please provide more details, also some screens pointing the issue and the code used to generate the ad would help.
Thanks!
Hi
Thanks for reporting this, I’ve added it on our issue tracker and we will fix it as soon as possible. Meanwhile you can use this custom css in theme panel > custom css:
.td-header-style-6 .td-top-menu-full{
height: auto!important;
}
Sorry for inconvenience.
Thanks!
Hi,
I just upgraded to Newspaper 6 today due the latest Visual Composer not working with Newspaper 4 (at least, it didn’t for me). Anyway, I’m trying to create a page template, however I’m having a few issues.
Effectively, the template that I created allowed was a standard page, but had a logo (Background image) at the top of the page content (underneath the header), with a menu underneath. The code for this on Newspaper 4 was:
get_header();
if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="container td-page-wrap">
<div class="row">
<div class="span12"><strong><div id="wtog-logo"></div> <div id="wtog-menu"><?php wp_nav_menu( array( 'theme_location' => 'wtog', 'container' => '')); ?> </div> </strong>
<div class="td-grid-wrap">
<div class="container-fluid">
<?php the_content(); ?>
</div>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php } else {
echo td_page_generator::no_posts();
}
get_footer();
All of the pagebuilder/visual composer content would show as normal below this ‘submenu’ (wtog-menu). What would be the best way to have the same shown in Newspaper 6? I noticed the code on the other existing templates are much more complex, so any help would be appreciated.
all of the sudden now im getting this error
Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: get_headers(http://img.youtube.com/vi/GeFVqfDk3PM/maxresdefault.jpg): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: Cannot modify header information – headers already sent by (output started at /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /home/jiujitsu/public_html/wp-admin/post.php on line 242
Warning: Cannot modify header information – headers already sent by (output started at /home/jiujitsu/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /home/jiujitsu/public_html/wp-includes/pluggable.php on line 1207
Sorry if I am asking for something I should know. I am getting there just need some help.
I found this in the newsnag panel theme Ads. Which is whats displaying in my newsmag theme header ads
<div class=”td-all-devices”>
</div>
I would like to put an ad in the same box. With a link that would go straight to the advert website.
For example the website address is http://www.hrpeopleafrica.com. I also tried to make the size of the image to display 728pix by 90 pix, as specified in the advert space but it was smaller.(I think I was very wrong)
My questions.
1. How do I generate a code to display in the header ad area as specified in the theme panel ads?
2. How do I get a proper size for images? for example using a photoshop to get the right image size for the ads in the newsmag theme header ad.
Please help
I am having a problem since upgrading from 6.4 to 6.5.1 with my header. Many times the header is not displaying my logo or my menu. I have cleared all caches, including cloud flare.
It will reappear if the visitor scrolls down then back up.
I will post my url but prefer to do it privately.
How can I delete the default padding between the header and the first row as well as the last row and the footer.
If that is not possible, how can I change the background color in the site area. I can only change the sides of the boxed layout but not the site itself.
Thank you.
Thank you doucare1971 for the tips, indeed, it’s a cheap hosting…
Andrei L., the php.ini variables are green.
After I had deactivated the N-1 plugins (the performance was the same even with only 1 active plugin) I found that the main problem is the autocomplete feature of the #td-header-search input in the search form. Every time I type in something, an ajax request is sent to server. Do you know how I can disable that autocomplete feature in order to reduce the server load?
Thanks!
Please kindly advice on how I would upload my own advert, for instance the header and side bar advert. It only says it would automatically work for Google adsense. Please give me a path to follow. I thought I see something where I could just upload the image and put the link behind it. Please help with this.
Hi,
I installed and activated the theme here> http://futrankings.wpengine.com/
Then I added the adsense code in my ad boxes on the theme panel but they wont show! I have an active (not new) ad that is working already but it wont work on this site.
I tried deactivating all plug ins but still wont work.
I am using header ad, top ad and sidebar ad and none of them are working. But I am using a non Adsense advertising as custom ad 1 and that is working properly.
Please help? Thank you.
Hi, it doesn’t work, it simply changes my header color, not background. I am using style1 default header.
Hi,
In order to remove the ad on mobile phone you can add this custom css in the theme panel:
@media (max-width: 1018px) and (min-width: 768px){
.td-a-rec-id-post_style_11 {
display:none;}}
For the second part you need to edit the core files of the theme. This requires a bit of code knowledge.
You cannot simply move the title from the bottom to the top.
You can copy the header from here: http://screencast.com/t/iKprjF3j
And add it to single_template_10.php You need to change the class to the title in order to target it with CSS:
http://screencast.com/t/L2FP8KZLth
Then you will have 2 post titles. One above and one below the video. Now you can use css to position the title above and hide the one below:
.td-post-title_custom{
margin-left: auto;
margin-right: auto;
width: 400px;
}
.single_template_10 .td-post-title{
display:none;
}
This will require a bit more tweaking, but this should set you on the right path.
Thanks.
Hello tradermaker,
To remove the gradient, you can use this cutsom CSS:
.td-header-style-12 .td-header-menu-wrap-full .td-header-gradient:after{
display:none;
}
As for the second part, if you changed the header menu with custom css then it will behave like that. Please remove the code and change the color from the theme panel.
Thank you!
Hello,
Sorry for the delay, if you write in a closed topic, we won’t see the request only if we know to look for it.
I’m not sure what you mean, the header area does not display the background image: http://screencast.com/t/ijzfaN5xZu
The screenshot you provided requires username and password. Please provide more details and maybe a screenshot that can be viewed without authentication.
Thank you!
Hello,
I get a 508 Error (Resource Limit Is Reached) almost every time I run a search on the website using the search bar in header (site/?s=<term>).
When analyzing my cpanel data (I have a shared hosting) I noticed that at the time when I click on search, more than 5 (Entry) Processes are created – and that exceeds my hosting package limit.
Can you please tell me more about the php code that runs on search so that I can investigate further? Also, do you have any suggestion on how I can work some optimizations here without upgrading my hosting pacakge?
Thank you!
Hi,
I have checked your site but on mobile device your header ad is not displayed – http://screencast.com/t/DhrxZ6UuN
Please check your code in Theme Panel > Ads – header ad.
Thanks!
Hello,
If by banner you mean the header logo, then you can upload it from the theme panel: http://screencast.com/t/zNFljwYVG
If you are talking about the ad, you can place an add in the header ad box: http://screencast.com/t/yuogE6YT
Our theme was designed to work with adsense. If you want to use other ads, you can follow this guide: https://forum.tagdiv.com/using-other-ads/
You can also read other topics of our documentation. You will find many useful things in there. You can also check our video tutorials on our YouTube chamel: https://www.youtube.com/user/tagdiv
I hope this helps
Thank you!
-
This reply was modified 10 years by
Bogdan B..
Hi there,
Apologies but as i am really new to WordPress, would it be possible for you to advice how can i change the image for the header banner.
Thank you in advance for your kind help.
Regards
Hello Carly,
Place this custom css in the theme panel:
.td-header-sp-logo{
width:30%
}
.custom-header-ad{
display:table;
}
.td-a-rec-id-custom_ad_1{
margin-bottom:0!Important;
}
@media (max-width: 767px) {
.td-header-sp-logo{
width:100%}
}
result: http://screencast.com/t/mYZjWg6kIwst
Thank you
Hi,
I have a problem on my mobile site. After the header ad appears a big blank space.
How can I get rid of it.
Hello,
In the search function, part of the header, the Woocommerce products does not display.
How do I get them to be included in the search?
Thank you in advance.
Hello,
I have Newspaper Theme v6.2 installed on my website.
URL – http://www.naukrinama.com
On few of my category pages the category description is not showing and also all menu items in the header is not getting displayed.
URL – http://www.naukrinama.com/states/delhi-govt-jobs/
The category description is added in the backend already and i have also tried clearing the cache but i am still unable to view it.
Please let me know how to resolve it as in google crawling its creating a issue for me.
can this be done somewhere so it doesn’t flick on page load? its black for a split second then white. have the same issue with the custom CSS applied to left align my logo
.td-header-style-7 .td-header-sp-logo {
margin-top: 10px;
margin-bottom: 10px;
}
.td-header-style-7 .td-header-sp-logo img{
margin: initial;
}
@media (max-width: 767px) {
.td-icon-mobile:before, .td-icon-search:before{
color: black;
}
@media (max-width: 767px){
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: #FFF !important;
}