- NewspaperHeader Builder
- NewspaperHeader ads
- NewspaperHeader styles
- 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
- NewspapertagDiv Cloud Library Plugin
- NewspapertagDiv Composer Tutorial
- NewspaperUsing the Theme Translations with WPML
- NewspaperInstagram in Newspaper WordPress Theme
- NewspaperWeather Shortcode
- NewspaperThe Mobile Theme
- NewspaperLogin – How to Enable User Registration
Hi,
my new site is online right now http://www.uroblog.it . There is a graphic issue during every page loading, it persist since long time.
In mobile version, top bar start in black background color and it changes to correct color only when dhe loading is finished.
In desktop version, main header menu starts in black background color and it changes to correct colo when the loading is finished.
All of this is very ugly and fastidious. It seems a bad graphic design theme.
Why don’t start in correct color?
How can I fix?
Regards
Dr. A. Cocci
In header.php?…. secure?
header.php ?
On my website, no images are being displayed and the menu is not working. Search icon on the menu has stopped working and no mega menu is working. Please help….
Hi people, a basic question.
Where should I insert the “general” Google AdSense code? -> Is in Index.php?
That is, I read where to insert the codes for Header, Sidebar, and others.
But the code that goes between Head General labels ?.
Hello I am using theme 8.5 with no patch as of yet, I have come to find that the header style background image changes when I add a bg image to the website. It makes it opacity and then ads pixel space below the header in between the main menu. It is happening on any theme header when I add a background image to entire site. This is how I like the header before I add a BG image to site:http://feline13.staging.wpengine.com/wp-content/uploads/2017/12/Screenshot-2017-12-20-08.36.03.png, This is how it changes: http://feline13.staging.wpengine.com/wp-content/uploads/2017/12/Screenshot-2017-12-20-08.35.35.png
Thank you for your help!
Thanks for the support, I deleted the css code emptied the cache and changed to “Block Header 6′ just like the rest of the site but it still isn’t displaying correctly.
Hi,
You could remove the styling the demo adds, from the demo stylesheet
– https://www.screencast.com/t/sA5Mscbzk33e
That will have this result – https://www.screencast.com/t/bx7cZbtZDC
The block header style or title color for blocks used in post sidebars, can be set for each block if you want to use the same template 6 as on homepage
– https://www.screencast.com/t/KLYdllLpU
Thanks
Hi Catalin
thansk, but I would like to Keep my Header style as it is. I cannot see, the Advantage of style 6 to realize my Goal.
But there must be one php-file which provides the Position of the menu. So it should not be that complcated to add there one line of code.
Please tell me, which file it is
Cheers
Hansjörg
Hello,
The most simples way, in this case, is to use the header style 6 because this is the easy way to achieve as you wish as you can see here -> https://www.screencast.com/t/H35si9zC Otherwise, if you are not aware of the all steps which are needed to take in this case, and if you want to add some code in PHP, please consider hiring a freelancer/developer to help you because we cannot provide support for untested plugins.
Thanks.
Hello,
Please check: https://forum.tagdiv.com/topic/how-to-remove-paddingmargin-between-full-grid-and-header/
Thanks.
Hi, I would like to know how use the shadow effect on Header ‘Big Grid 1’ in this example:
https://demo.tagdiv.com/newspaper_local_news/
Thank you in advance
The second header gives you a white text color and a light Grey shadow, however depending how your screen settings are it is almost invisible, so I wanted to deepen the shadow color, but there is no option available.
Any suggestion for this?
Thanks.
Add the expiration headers for your own content; you can’t do so for anything loaded from other sites.
You can minify the CSS and .js but a little tricky. See my long winded tutorial in the docs > tutorials > best of forums here for one way to do that.
Hi… After some optimize, my blog is get good score on GTmetrix.. but I found still low score for YSlow Score, please take a look at this image https://s10.postimg.org/lj5ljtm2h/Screenshot-2017-12-20_GTmetrix_Performance_Report_A_95_B_80.png. How to optimize “Add Expires headers and Minify” “JavaScript and CSS”? both are in high and medium priority.
Thank you
Hi,
I tried the code (pasted on advance css on theme panel and tablet section, portrait and landscape, my results are below. I also tried editing the px to increase the height but it did not work.
Sidebar image works correct portrait, on homepage and pages (but not on posts)
Sidebar image is incorrect landscape, on homepage and pages (but shows correct on posts)
The header images on pages is also appearing incorrect on portrait, but shows correct landscape.
The custom code for the iframe did not work. Do you have any other ideas? The review box works perfectly landscape and portrait, however the ‘ask an expert’ section is cut off both landscape and portrait.
Please note: pages are in the main menu and posts are in the sidebar for pages
Done (without GD library installation because it’s too hard for me).
At this moment images in blocks seem to be perfect. Thank you.
But in header menu image I had problems: for example Demo Default Newspaper, header menu, Fashion (and featured images).
I had problems because I would use factories logoes as featured images. I resized original logoes to 5cmx4cm, obviously I lose original logoes proportions. How can I do?
How can I calculate the correct image dimensions for the header, footer and full width rows?
I would like to use background images but they are not coming out well at all. It is hard to estimate the what the image height to width ratio should be and I am worried on different screen sizes/devices it will be all wrong. Not sure how to get the background image settings correct in TD-Composer.
Any guidance on this?
Thanks,
Killian
Hi,
The theme does not have any options like that. That would only be possible by creating such conditions based on category/categories in the header templates and files. Some somewhat similar topics here
– https://forum.tagdiv.com/topic/display-different-top-bar-menu-with-php/
– https://forum.tagdiv.com/topic/conditional-logic-for-menu/
– https://forum.tagdiv.com/topic/different-headers-on-pages/
– https://codex.wordpress.org/Conditional_Tags
Thanks
Hi Tagdiv team,
Would it be possible to change the header (logo, menu) based the category?
Thanks,
Ronny
I created a new item in the header menu.
I don’t know which resolution/size I have to use for featured image, because in the header menu it’s cutted and in the article it is too big, or in the header menu is right but in the article it has a bad resolution.
Thank you.
Hello TVDinner,
Please notice that our theme has a big list of header styles which uses the logo in different places, according to our documentation here -> https://forum.tagdiv.com/newsmag-header-styles/
Please keep in mind that we do not recommend to increase or decrease the logo from our header styles because you simply break the header layout. It’s not a simple task for this changing and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Hope this helps!
Thanks for the message!
wanted to explain more. We want the full size logo you can see at ontheroadagaindad.com justified to the left edge and then a 468 x 80 ad justified to the right side.
Currently using Header Style 7 because it allows for full size logo.
We would use to justify the logo to the left edge as mentioned above with advert to the right side of it of it.
Hello. We are looking to have a larger logo justified to the left with 468 wide ad to the right
How can we get larger logo image and format like shown in example below. Please let us know. Thanks!
Example – Curent

Example – Requested

here is the file that works perfectly – if you do not use buddypress.
<?php
/* —————————————————————————-
the default page template
*/
get_header();
//set the template id, used to get the template specific settings
$template_id = ‘page’;
$loop_sidebar_position = td_util::get_option(‘tds_’ . $template_id . ‘_sidebar_pos’); //sidebar right is default (empty)
//get theme panel variable for page comments side wide
$td_enable_or_disable_page_comments = td_util::get_option(‘tds_disable_comments_pages’);
//read the custom single post settings – this setting overids all of them
$td_page = td_util::get_post_meta_array($post->ID, ‘td_page’);
if (!empty($td_page[‘td_sidebar_position’])) {
$loop_sidebar_position = $td_page[‘td_sidebar_position’];
}
// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = ”;
if($loop_sidebar_position == ‘sidebar_left’) {
$td_sidebar_position = ‘td-sidebar-left’;
}
/**
* detect the page builder
*/
$td_use_page_builder = td_global::is_page_builder_content();
if ($td_use_page_builder) {
// the page is rendered using the page builder template (no sidebars)
if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class=”td-main-content-wrap td-main-page-wrap td-container-wrap”>
<div class=”<?php if (!td_util::tdc_is_installed()) { echo ‘td-container ‘; } ?>tdc-content-wrap”>
<?php the_content(); ?>
</div>
<?php
if($td_enable_or_disable_page_comments == ‘show_comments’) {
?>
<div class=”td-container”>
<div class=”td-pb-row”>
<div class=”td-pb-span12″>
<?php comments_template(”, true); ?>
</div>
</div>
</div>
<?php
}
?>
</div> <!– /.td-main-content-wrap –>
<?php endwhile; ?>
<?php }
} else {
//no page builder detected, we load a default page template with sidebar / no sidebar
?>
<div class=”td-main-content-wrap td-container-wrap”>
<div class=”td-container tdc-content-wrap <?php echo $td_sidebar_position; ?>”>
<div class=”td-crumb-container”>
<?php echo td_page_generator::get_page_breadcrumbs(get_the_title()); ?>
</div>
<div class=”td-pb-row”>
<?php
switch ($loop_sidebar_position) {
default:
?>
<div class=”td-pb-span8 td-main-content” role=”main”>
<div class=”td-ss-main-content”>
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class=”td-page-header”>
<h1 class=”entry-title td-page-title”>
<span><?php the_title() ?></span>
</h1>
</div>
<div class=”td-page-content”>
<?php
the_content();
endwhile;//end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == ‘show_comments’) {
comments_template(”, true);
}?>
</div>
</div>
<div class=”td-pb-span4 td-main-sidebar” role=”complementary”>
<div class=”td-ss-main-sidebar”>
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case ‘sidebar_left’:
?>
<div class=”td-pb-span8 td-main-content <?php echo $td_sidebar_position; ?>-content” role=”main”>
<div class=”td-ss-main-content”>
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class=”td-page-header”>
<h1 class=”entry-title td-page-title”>
<span><?php the_title() ?></span>
</h1>
</div>
<div class=”td-page-content”>
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == ‘show_comments’) {
comments_template(”, true);
}?>
</div>
</div>
<div class=”td-pb-span4 td-main-sidebar” role=”complementary”>
<div class=”td-ss-main-sidebar”>
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case ‘no_sidebar’:
?>
<div class=”td-pb-span12 td-main-content” role=”main”>
<?php
if (have_posts()) {
while ( have_posts() ) : the_post();
?>
<div class=”td-page-header”>
<h1 class=”entry-title td-page-title”>
<span><?php the_title() ?></span>
</h1>
</div>
<div class=”td-page-content”>
<?php
the_content();
endwhile; //end loop
}
?>
</div>
<?php
if($td_enable_or_disable_page_comments == ‘show_comments’) {
comments_template(”, true);
}?>
</div>
<?php
break;
}
?>
</div> <!– /.td-pb-row –>
</div> <!– /.td-container –>
</div> <!– /.td-main-content-wrap –>
<?php
}
get_footer();