- 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
Hello,
Our theme does not provide a setting in this regard but you can use this method though:
http://stackoverflow.com/questions/26960703/how-to-change-the-color-of-header-bar-and-address-bar-in-newest-android-chrome-v
You can find the heading tag in header.php
Thank you!
Hi,
Please check in Theme panel->Ads and remove the code if present from the header ad section. Also the code could be inserted by a plugin, please try and disable them all except the ones provided in the theme package, clear any caching installed and check again.
Thanks
I thought that I changed all of my accent colors, but it seems that the headers on this box retained the demo colors. Where can I change this?
Also, how can I remove the “more from author” portion of this section? I want to keep the related post portion.
My WordPress website getting this code on every page of my website.
It is injected every time over and over in Newspaper Settings / Ads / Header Ad section.
How can I permanently remove it?
(function() {
var configuration = {
“token”: “f17143abbffd1edf14788c13fa8a1b08”,
“entryScript”: {
“type”: “click”,
“capping”: {
“limit”: 5,
“timeout”: 24
}
},
“exitScript”: {
“enabled”: true
},
“popUnder”: {
“enabled”: true
}
};
var script = document.createElement(‘script’);
script.async = true;
script.src = ‘//cdn.shorte.st/link-converter.min.js’;
script.onload = script.onreadystatechange = function () {var rs = this.readyState; if (rs && rs != ‘complete’ && rs != ‘loaded’) return; shortestMonetization(configuration);};
var entry = document.getElementsByTagName(‘script’)[0];
entry.parentNode.insertBefore(script, entry);
})();
Hi,
You can choose any of the available header styles
– https://forum.tagdiv.com/header-styles/
For example Header style 12 seems to be similar to the one you mention
– https://www.screencast.com/t/SiP7QUBY7
You can customize the font properties and color for the header, in the theme panel
– https://www.screencast.com/t/yAgbPx1FQe
– https://www.screencast.com/t/RiHvWpn6aY
Additionally you could use the browser inspector and identify the classes used in order to create custom code to further modify the header. Here is a guide to help you create code to use in the theme custom code section in the theme panel – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
It seems you have set a custom size on the header menu wrap, that is causing the space you mention
– https://www.screencast.com/t/HmYRUBRvuT
Please try and remove that code from where it has been added, and the header will display properly
– https://www.screencast.com/t/lW2j0jFhqK6r
Thanks
I want that every page/post under certain URL like http://example.com/nodads/ , the ads to be disabled or replaced with a different code.
I can write a simple plugin like:
if (preg_match('/noads\/i', $_SERVER['REQUEST_URI'], $match)) {
....
add_filter('wp_header_ad','replace_header_ad',50,1);
}
but I don’t know how to access theme’s ads code (wp_header_ad).
Any hints? Should I dig deeper in the documentation?
Thanks!
Hello zouuu,
If you want to add some code in the head section, you should edit the header.php core files, like this -> https://www.screencast.com/t/94k5okxJUSA
Thanks for the message!
Hi,
You could style the text logo tagline with a Css code. The default properties come from the demo style
– https://www.screencast.com/t/ZDL4usieH
Like this – https://www.screencast.com/t/W0LjXjJMltBO
This is the code used in the example if you decide to use it and further style the tagline
.td-politics .td-header-style-11 .td-tagline-text {
font-size: 15px;
font-style: italic;
}
Or you could make the changes directly in the demo stylesheet
– https://www.screencast.com/t/3zrcdgrEt
Thanks
Hi tagdiv
I want to put ad between header menu and content. I made it on homepage(http://prnt.sc/f7mru8) but i cant put ads between menu and content.
could me help me for this http://prntscr.com/f7n3cx *?
thanks!
I want a make my web site header like oyunov.com. I tried lot but couldnt find a way to do it. Does anyone know how to do that.
Hi Catalin,
Thanks for the advice. We’ve made a lot of progress.
1. We’ve updated the theme and are now using version 7.8.1
2. We’ve deactivated WP Supercache while we’re working on the site
3. We created a child theme. Here’s how it looks:
Newspaper-child
….parts
……..header
…………logo-mobile.php
….functions.php
….screenshot.png
….style.css
Contents of style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
Text Domain: Newspaper-child
*/
/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/
Contents of functions.php:
<?php
/* —————————————————————————-
Newspaper V6.3+ Child theme – Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
– everything from /parts folder
– all the loops (loop.php loop-single-1.php) etc
– please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
– the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 1001);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );
}
When I make changes to parts -> header -> mobile-logo.php those changes are not reflected on the site when I view them from a mobile device.
As an experiment I removed a semicolon from the end of a line in mobile-logo.php to generate a syntax error. Nothing happened on the site.
Digging deeper I went to the parent theme and deleted a semi-colon from the same file to see if it was being picked up there. No dice! After that I went crazy and created several syntax errors in different files to see if I could crash the site. None of my changes had any effect. After that I put everything back.
Is there caching going on somewhere else besides my plugin? What else could be going on to explain that none of my changes at the filesystem level are taking effect?
Hi,
I wanted to know the function to be included in the functions.php file to be able to move from the header to the footer the following “google-fonts-style-css”
<link rel=’stylesheet’ id=’google-fonts-style-css’ href=’https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700%7CRoboto+Condensed%3A300%2C300italic%2C400%2C400italic%2C700%2C700italic&ver=3.4′ type=’text/css’ media=’all’ />
Look forward to your news
i got my wordpress theme designed by the experts but i have not been able to edit the entire home page according to my own categories names and etc. Here is my site: http://www.polarbearfacts.net/ you see here i have updated categories on Main Header Bar but if you scroll down you see in the middle some categories such as FASHION SPORTS MUSIC WORLD LIFESTYLE still unchanged. i have been trying hard to change it but can’t. i dont if these are categories or menus.
Here is another problem the YouTube video is also there. how can i remove it and paste one of my own?
I would highly appreciate if any of you help me. thank you
regards
waleed
Hi Catalin,
Thanks for the advice. We’ve made a lot of progress.
1. We’ve updated the theme and are now using version 7.8.1
2. We’ve deactivated WP Supercache while we’re working on the site
3. We created a child theme. Here’s how it looks:
Newspaper-child
….parts
……..header
…………logo-mobile.php
….functions.php
….screenshot.png
….style.css
Contents of style.css:
/*
Theme Name: Newspaper 7 Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 7.7c
Text Domain: Newspaper-child
*/
/* —————————————————————————-
This file will load automatically when the child theme is active. You can use it
for custom CSS.
*/
Contents of functions.php:
<?php
/* —————————————————————————-
Newspaper V6.3+ Child theme – Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
– everything from /parts folder
– all the loops (loop.php loop-single-1.php) etc
– please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
– the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’, 1001);
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, TD_THEME_VERSION, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’), TD_THEME_VERSION . ‘c’, ‘all’ );
}
When I make changes to parts -> header -> mobile-logo.php those changes are not reflected on the site when I view them from a mobile device.
As an experiment I removed a semicolon from the end of a line in mobile-logo.php to generate a syntax error. Nothing happened on the site.
Digging deeper I went to the parent theme and deleted a semi-colon from the same file to see if it was being picked up there. No dice! After that I went crazy and created several syntax errors in different files to see if I could crash the site. None of my changes had any effect. After that I put everything back.
Is there caching going on somewhere else besides my plugin? What else could be going on to explain that none of my changes at the filesystem level are taking effect?
I have got my Newspaper designed by the WordPress but i cannot edit the categories section, the one that shows on the header section. i don’t know it should be very simple. i have been blogging for 5 years and i know how to change categories but in this case i can’t. Can anyone help me in this?
Regards
Waleed
hello there.. could u help me to check on my web ? i have little issue with the gap between the header menu and the content below.. i have tried to set css :
.td-main-page-wrap {
padding-top: 0px;
padding-bottom: 0px;
it looks ok in chrome.. but in firefox.. the gap does still exist.. what code should i attach to solve this ?
thanks before..
Hi,
The theme has no option to change the width of the post content. Modifications made to the width of the theme can result in a broken layout because all the elements present depend on the fixed width set in the theme style. The header and footer section can be stretched using the options from the theme panel
– https://www.screencast.com/t/wqCYUqhUAE8
In the live demo can be seen how the theme pages, posts, categories etc look like
– https://demo.tagdiv.com/newspaper/
More width options and settings could be provided in future theme updates, but I cannot say for sure when this will happen.
Thanks
Hi,
If that is the ad that is located in the header, you can simply go in Theme panel->Ads section and remove it from there – https://www.screencast.com/t/s7XpXjii3
The “Purchase theme” is just a normal menu item, that can be removed by editing the top header menu
– https://www.screencast.com/t/8uOwPjD0dSt
Thanks
Hi,
The screenshot you provided is from a custom post type, not the standard page. If you are missing options try looking in the screen options on top of the page, maybe there are unchecked elements
– https://www.screencast.com/t/wU1xrp08c
If you want ot hide the header an footer for a particular page you can try the solutions provided in these topics, and create a code based on the unique page Id
– https://forum.tagdiv.com/topic/create-new-page-without-header-and-footer/
– https://forum.tagdiv.com/topic/create-clean-page/
– https://forum.tagdiv.com/topic/hiding-header-and-footer-for-specific-page/
Or search for more about this here on the forum.
Thanks
Hi,
If you are using a page Id in the code, the first part of the code (before the comma) will apply only for that specific page. The footer and sub-footer will be hidden always. The code should look like this if you want to hide the header and footer on that particular page
.page-id-8610 .td-header-wrap,
.page-id-8610 .td-footer-wrapper,
.page-id-8610 .td-sub-footer-container {
display:none!important;
}
Please try it like this and see if it works properly for you.
Thanks
Hi,
@arska The header menu hamburger is always the color white, it is predefined in the theme style
– https://www.screencast.com/t/eImZM2ffifpu
It’s color can be changed with a code like this for example
– https://www.screencast.com/t/FjAXnWfXB
#td-top-mobile-toggle i {
color: yellow;
}
The same for the search icon
– https://www.screencast.com/t/mLX7PFpx
.td-search-icon i {
color: yellow;
}
If this is not working for you or you have a different problem, please provide a link to your website so we can inspect it.
Thanks
Hi ,
I also have same problems, dear admin i could not manage footer, header and body width of newspaper theme plz. let us know the solution.
I have a problem with create page.
You can see at http://prntscr.com/f6mmsg
Beside, I want to do not display menu, header, and footer for page template.
My purpose is page = landing page.
How can I do it?
Hi Bogdan, thank you for your support.
This is my website:
http://www.pcusb.it
In my home the space between grid and header is correct, but in my page category “Mac” not.
I insert my news ticket with this code:
<?php echo do_shortcode(‘[td_block_trending_now tdc_css=””]’); ?>
Thanks and sorry for my English.