- NewspaperHeader Builder
- NewsmagHeader styles
- NewsmagHeader ads
- NewspaperHeader ads
- NewspaperHeader styles
- 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
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
HI
You can use header style 8 which display the ad below the menu: http://screencast.com/t/jzHTTwvT Also you can use do_shortcode() function in header file to echo out a custom ad-spot, for more details please check this link: https://forum.tagdiv.com/topic/need-ads-header-above/
Thanks!
Pradeep – this is really great, thank you. I’ve been wanting to do this…
BUT, I followed the initial instructions (changed header-menu.php in the Child Theme) but it made the search icon disappear from the main menu?
Here’s the code I used. Any thoughts?
<div class="header-search-wrap">
<div class="dropdown header-search">
<div class="td-drop-down-search" aria-labelledby="td-header-search-button">
<form role="search" method="get" class="td-search-form" action="/visitor-sitemap">
<div class="td-head-form-search-wrap">
<input id="td-header-search" type="text" value="Search" name="q" class="s search-input" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" /> <input type="submit" id="td-header-search-top" class="wpb_button wpb_btn-inverse btn" value="Search" />
</div>
</form>
</div>
</div>
</div>
WP Super Cache has been purged. Browser cache and cookies has been emptied. CDN “files” I have NO idea what is and google didn’t offer any enlightenment on the issue.
Here is a link to a post that has the “problem”: http://24uutiset.fi/2016/09/13/kayta-antibiootteja-varovaisesti-ja-oikein/
The header is still blue and it should be black.
I don’t think the issue has been resolved in the update?
Hi, Catalin thanks for answering, url is this one but now is hidden cause i’m working on this new theme and is all messed up http://www.princefaster.it/
these are two screens of header
first one is current site
http://www.princefaster.it/wp-content/uploads/2016/09/faster_no.jpg
second one is what I think it shouldd be
http://www.princefaster.it/wp-content/uploads/2016/09/faster_ok.jpg
I’m using the home page with pagebuilder + latest articles, i would like to know also how to have the latest articles on top, now there is old material showing first
thanks
Hi, I would like to move the main menu up and down to fit in the middle white space of the header, now there is too mach blank space below, how can i do that, can’t find any settings.
I’m using header style 4
thanks in advance
alex
@Bogdan B.
Hi Bogdan, thank´s for the fast repsonse.
The Login/Register is working with my custom Link im TOP-BAR-MENU. (SHOW SIGN IN / JOIN). I just modified your Code because there was “class=” which was preventing the Link:
echo '<ul class="top-header-menu td_ul_login"><li class="menu-item"><a href="https://www.portal-regional.at/login/">Login / Registrieren</a><span class="td-sp-ico-login td_sp_login_ico_style"></span></li></ul>';
Maybe you can give me more advice for the Comments.php File. I don´t know what to do here. Sorry I´m not an experience Programmer, just a User 🙁
// login with our login modal when you want to write a comment
if (td_util::get_option('tds_login_sign_in_widget') == 'show') {
$url = '#login-form';
} else {
$post_id = get_the_ID();
$url = wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) );
}
$defaults['must_log_in'] = '<p class="must-log-in td-login-comment"><a href="' . $url .'">' . __td('Log in to leave a comment', TD_THEME_NAME) . ' </a></p>';
comment_form($defaults);
//comment_form();
Do I have just to replace the following line?
$defaults['must_log_in'] = '<p class="must-log-in td-login-comment"><a href="' . $url .'">' . __td('Log in to leave a comment', TD_THEME_NAME) . ' </a></p>';
With this Line of Code?
$defaults['must_log_in'] = '<p class="must-log-in td-login-comment"><a href="https://www.portal-regional.at/login/">' . __td('Log in to leave a comment', TD_THEME_NAME) . ' </a></p>';
Thanks for your reply
With best Regards,
Karl
-
This reply was modified 9 years by
kstockl.
Hi
You can create a image by 1920x100px for example and set it as logo then use header style 10 which display a full width logo, the result should be like here: http://screencast.com/t/c1UbqDoLoBCs
Hope this helps!
Thanks!
HI
I’ve checked your site and the ad is properly displayed on header: http://screencast.com/t/2yx1ht5oPC and also above footer: http://screencast.com/t/NGcUViMv If you still have this issue try to clear browser’s cache memory then test the site again, also make sure that you don’t have any ad-block extension enabled on the browser.
Thanks!
Hi
Header’s layout relay on a fixed width generated by js which can’t be overwritten with css, sorry. To change the header’s height you will need a different approach for all elements displayed there, logo, menu, search box.
This task involve some customizations and also many tests in order to be achieved. We can’t offer customization services at the moment so if you really this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks for your understanding!
Hi Catalin
Sorry as perhaps I wasn’t clear. I am using the latest version 7.4 and plugins etc. I cannot install the demo theme as it wipes out my whole website whether I check include or not include content. I have to get my host to install a backup twice!
I have managed to create the black header etc but all I need to do now is to have the pages and posts with black (dark background) How do I do this or can I simply add some custom css? If I do this what do I add?
My site is http://www.funeventsasia.com
Hello,
If you want to alter the login widgets, for the top one you must edit this code:
http://screencast.com/t/luvcwJO0
You can replace it with something like:
echo '<ul class="top-header-menu td_ul_login"><li class="menu-item"><a class= href="your custom url">click me</a><span class="td-sp-ico-login td_sp_login_ico_style"></span></li></ul>';
And for the comments form: http://screencast.com/t/OoENdvZYC
Thank you!
Uptated, but still not able to change either header or text color.
Hi Team,
How to make full width header logo?
Thanks!
Hi There!
I am Yogesh using Newspaper theme. I customized my homepage using visual composer and other settings. I have a perfect page now. Though, when I visit the site it’s kind of “boxed”. How can I make the header, top bar, and footer full to width of screen?
Screenshots attached here.
Edit main height on Newspaper 7 menu style 6 for example see: http://www.awesomescreenshot.com/image/1582029/8aa1a29b601afeed7ae12a03b8f058f7
SHOW SIGN IN / JOIN – Changing Code so that Clicking on this Link on TOP Bar MENU directs to my own Login Page instead of opens the Modal Window!
I want to use the “Show Sign In / Join” Link on the TOP BAR MENU but i want to change the code – so that when clicked – instead of Opening the Modal Window a non Logged-In User is redircted to my own Login Page.
The same procedure I want at the Post Page for the Comments Section – When a non Logged-In User must logged-In first before he is able to write a Comment.
For better unserstanding I included two Screenshots:
https://www.portal-regional.at/wp-content/uploads/2016/09/TOP-Header-Menu-Login.jpg
https://www.portal-regional.at/wp-content/uploads/2016/09/Comments-logged-out.jpg
Which Code in which Newspaper Theme File do I have to change?
Thank your for your answer
Karl
Hello gilli,
Please notice that our theme does not have such an option for it, sorry! You will have to find some headers
among our header styles and you can choose one you like and which correspond with your desired, from there -> https://forum.tagdiv.com/header-styles/ Please notice that any other changes for your header style involve custom work and we cannot provide this services at the moment, sorry! Also, if you need to make these changes and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
Thanks.
Using allow_url_fopen=1 is a security risk, so all functions requiring this should be changed to use cURL instead.
For example in includes/wp_booster/td_video_support.php:
REPLACE:
private static function is_404($url) {
$headers = @get_headers($url);
if (!empty($headers[0]) and strpos($headers[0],'404') !== false) {
return true;
}
return false;
}
WITH:
private static function is_404($url) {
$curl = curl_init();
curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_URL => $url ) );
curl_exec( $curl );
$response_code = curl_getinfo( $curl, CURLINFO_HTTP_CODE );
curl_close( $curl );
return ($response_code==404);
}
Ref:
http://stackoverflow.com/questions/127534/should-i-allow-allow-url-fopen-in-php
http://stackoverflow.com/questions/6087222/php-get-headers-alternative
Hey Amit
Did you just put this in your htacces file`?
<IfModule mod_deflate.c>
<filesMatch “\.(js|css|html|php)$”>
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 604800 seconds”
ExpiresByType image/jpeg “access plus 604800 seconds”
ExpiresByType image/png “access plus 604800 seconds”
ExpiresByType image/gif “access plus 604800 seconds”
ExpiresByType application/x-shockwave-flash “access plus 604800 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 604800 seconds”
ExpiresByType application/javascript “access plus 604800 seconds”
ExpiresByType application/x-javascript “access plus 604800 seconds”
#ExpiresByType text/html “access plus 600 seconds”
#ExpiresByType application/xhtml+xml “access plus 600 seconds”
</ifModule>
# END Expire headers
Cheers
Hi,
I’m trying to change the color of the social media header in widgets to black.

When I go to widgets and change the color, nothing happens. If I change the text the text change, but neither color of text nor background color changes if I try to change these.

Any idea?
Hello,
Our theme was designed to work with adsense. But there are a few new releases from adsense we have not yet added implementation for. Our theme is compatible with the standard adsense ad but some ads will require further implementation like the page-level ads for example. they need a piece of code added in header.php. Please provide the tyope of ad you want to implement as maybe it needs extra implementation options than the theme panel ad spot.
Thank you!
Hey,
I would like to change the header a bit.
Move the logo to the right of the menu and make it smaller, so it would in line perfectly with the category menu, and make the header ad bigger (970X250).
https://postimg.org/image/6ent1v77n/
Is there an easy way to achieve this?
Thanks
Hey,
How can i add a 970X250 ad to the header?
I tried changing td_panel_ads.php file by adding this size, but nothing happened.
What is the best way for doing this?
Thanks
Newspaper Theme panel is stucked, using Google Chrome. I see the header style page, but I cannot open any other window. Also the “save settings” botton doesn’t work.
Using Firefox or explorer solve the issue, but I want to understand why the panel does not work anymore with Chrome. I already cleared the cache and the cookies of chrome.
Any suggestion? Thank a lot
Hello,
Unfortunately our theme does not have this option so one alternative will be to remove the menu from that specific page if you want to have like a landing page.
.page-id-2127 .td-header-style-1 {
display:none;
}
.page-id-2127 .td-main-page-wrap{
padding-top:0;
}
Thank you!