- 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,
You need to change your header style to the “blog style header”: http://screencast.com/t/Vlp2dWyHLZy when using the blog stack.
Thanks
Also i’d like to ask an advice how can i add my social buttons in header and to make it look right in ipad’s? Now this div drops dowm and stands under header
Adding a background color to the header causes IE to wrap blank space. It appears the space for the add is a block and causing it to wrap.
Here is a screen shot of the header without a background color: https://www.dropbox.com/s/ccnx4wrtr0z86db/header-no-background-color.PNG?dl=0
Here is a screen shot of the header WITH a background color: https://www.dropbox.com/s/i1rneex60py9d81/header-with-background-color.PNG?dl=0
This only seems to be a problem with IE (11)
Ideas on what is causing this?
Some updates:
I changed background picture, made it bigger, but the problem was still the same with logo. The reason was margins in updated css file, they changed for logo depending on resolution, when i switched those margins to 0, the problem disapeared.
I also put social buttons to a separate div.
For now, i still have problem with logo in mobile view. There is just no logo there and header looks weird. It seems these things are related to each other. Can’t find on my own why is that..
And i still have a question about why is sidebar located after content part on mobile phones? Why i can see only left part of footer on mobile phones? Is it how the theme works or something else?
Apparently after I check it from several different browsers and different operating systems, I found something strange. Social media icons in the header does not appear when I access my site via Google Chrome and Mozilla Firefox browser on Windows 7, but it’s running normally in the Internet Explorer. Though I’m using the latest version of the browser. Additionally, social media icons in the header also look normal when I access my site via Mozilla Firefox in Ubuntu 12.04 LTS. Hopefully this problem resolved soon. 🙁
Lucian, which modification do you mean? Social button div container? I added it just in the place where i’m supposed to add code for my adds, but i didn’t changed anything more than this (only in Firebug). Before updating everything was fine and this social button container was here.
Ok, i’ll try to make the leight of background bigger and see if it helps with my logo.
About js errors, thank you, i’ll check them, but i’m pretty sure that it’s not the reason that i have the only half of my header on mobiles for example and i’d like to get some help with this. I use the same plugins i used before, nothing new. I tryed to delete social buttons containers, but it didn’t helped with mobile view unfortunately.
Hi there,
when clicking empty links in the header menu it disappears, that happens only with Internet Explorer. No such behaviour with Firefox, Chrome, Safari and Opera (all browsers updated to the last version).
Project is still under development though customer wanted to have it publisehd so you may check on http://www.university.it/
Thanks
Ok, got it!
After update i’ve got some problems, could you help me with it?
With header
My logo doesn’t change as it should when i’m changing the resolution (make it higher). As a result it looks like this http://files.webfile.ru/771b531408c16721d80711264313978f
And there is an odd stuff on the right. It seems in this version of the theme i need to make background picrure for header larger, but how many pixels should it be? Will it fix my problem or it’s because of something else?
In another resolution it still looks like this
http://files.webfile.ru/3eb8bb8a7b0717343d3daeab18f1dd95
It seems i found the reason (on the picture), but don’t know how to fix it. When i use .span8 width: 430px; – (originaly it’s 492px) everithing is ok. This width is only for this resolution, if resolution is getting more, this width is getting more too and in other cases it’s ok. I hope you know what i mean. I just hold ctrl button and use wheel on the mouse and see the changes.
About mobile view. Before you gave me some custom code to fix some stuff and it worked (https://forum.tagdiv.com/topic/mobile-view/), but in this version it doesn’t work anymore http://files.webfile.ru/973fcef799a15cf0be8e9e84a8cda0f2
Sidebar is located under content part
http://files.webfile.ru/6b75088f3da928f51fcff1da3e3fbbdd
Some elements in sidebar look like this
http://files.webfile.ru/2581776d4f615cfa1285a424089e8f3f
And i can see only left part of my footer
I solved this problem. If someone helps do this:
In style.css change Post template 4 code with:
/* ----------------------------------------------------------------------------
Template 4
*/
.td-post-template-4 header {
position: absolute;
bottom: 0px;
}
.td-post-template-4 header .entry-title,
.td-post-template-4 header .td-post-sub-title,
.td-post-template-4 header .meta-info,
.td-post-template-4 header .entry-date,
.td-post-template-4 header .td-post-author-name a,
.td-post-template-4 header .td-post-comments a {
color: #ffffff;
}
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29px;
margin-top: 7px;
margin-bottom: 5px;
position: relative;
right: 2px;
/* responsive portrait tablet */
/* responsive portrait phone */
}
@media (min-width: 768px) and (max-width: 1023px) {
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29;
}
}
@media (max-width: 767px) {
.td-post-template-4 header h1 {
font-size: 24px;
line-height: 29px;
right: 0px;
}
}
.td-post-template-4 .meta-info {
margin-bottom: 16px;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .meta-info {
margin-bottom: 10px;
}
}
.td-post-template-4 .entry-thumb {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3) inset;
transition: box-shadow 0.2s ease-in-out 0s;
padding-bottom: 0px;
margin-bottom: 0px;
}
.td-post-template-4 .entry-crumbs {
top: 0px;
padding: 15px 0px 15px 0px;
}
.td-post-template-4 .td-post-header {
width:680px;
padding-top: 0px;
border-bottom: 0px;
}
.td-post-template-4 .td-post-sharing-top {
border-top: 0px;
border-bottom: 1px solid #e6e6e6;
}
.td-post-template-4 .td-post-featured-image {
min-height: 200px;
background-color: #444444;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-featured-image {
min-height: 182px;
}
}
.td-post-template-4 .td-post-featured-image .wp-caption-text {
bottom: 0;
color: #FFFFFF;
position: absolute;
right: 0;
margin-right: 20px;
max-width: 400px;
height: 17px;
overflow: hidden;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-featured-image .wp-caption-text {
display: none;
}
}
.td-post-template-4 .td-post-content {
border-top: none;
margin-top: 0px;
padding-top: 14px;
/* responsive portrait phone */
}
@media (max-width: 767px) {
.td-post-template-4 .td-post-content {
padding-top: 10px;
}
}
.td-post-template-4 .td-post-sub-title {
font-size: 16px;
line-height: 26px;
border: 0px;
padding: 0px;
}
In single_template_4.php delete all and paste this:
<?php
// Template 4 - post-final-4.psd - full image + overlay full title
//get the global sidebar position from single.php
global $loop_sidebar_position;
$td_mod_single = new td_module_single($post);
?>
<article id="post-<?php echo $td_mod_single->post->ID;?>" class="<?php echo join(' ', get_post_class('td-post-template-4'));?>" <?php echo $td_mod_single->get_item_scope();?>>
<div class="td-container">
<div class="td-container-border">
<div class="td-pb-row">
<?php
//the default template
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<div class="td-post-header td-container">
<div class="td-entry-crumbs td-pb-padding-side"><?php echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); ?></div>
<div class="td-post-featured-image td-image-gradient">
<?php echo $td_mod_single->get_image('td_1021x580'); ?>
<header class="td-pb-padding-side">
<?php echo $td_mod_single->get_category(); ?>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle'];?></p>
<?php } ?>
<div class="meta-info">
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>
</header>
</div>
</div>
<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar" role="complementary" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WPSideBar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'sidebar_left':
?>
<div class="td-pb-span4 td-main-sidebar" role="complementary" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WPSideBar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<div class="td-pb-span8 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<?php
break;
case 'no_sidebar':
//td_global::$load_featured_img_from_template = 'art-slide-big';
td_global::$load_featured_img_from_template = 'full';
?>
<div class="td-pb-span12 td-main-content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/Blog">
<div class="td-ss-main-content">
<?php
locate_template('loop-single-4.php', true);
comments_template('', true);
?>
</div>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div>
</div> <!-- /.td-container -->
</article> <!-- /.post -->
Now, go to the Theme panel in Post Settings activate Post style 4.
Good luck 🙂
Hi,
Using header style 3 should be enough to allays show the ad under the menu on all pages. I have also checked your site but haven’t found any header ad set: http://screencast.com/t/kYOH0V3P3Hbf so I can’t guarantee it will work but for the space you have under the banner you could try this css and remove the margin bottom by setting it to 0px or as you like. Here is an example: http://screencast.com/t/ivXEoqh8
.header-content-rec .td-a-rec-id-custom_ad_1, .header-content-rec .td-g-rec-id-custom_ad_1 {
margin-bottom: 0px;
}
Hope this helps!
Thanks
Hi,
I’m not sure I understand what full image you want to have. If you mean for pages, I’m afraid that the theme doesn’t have an option to set an image to appear on pages as it dose for post pages when you use the post template style 4 and the feature image is set to appear full width like this: http://www.kungalvsnyheter.se/td_d_slug_46/ but you can try the workaround I suggested above and build a page using the “Homepage – bg – no article list” template and remove the slider.
I have posted how you can do this here: https://forum.tagdiv.com/topic/full-width-image-header-on-hompage/
Please give us wp-access so we can check why this is still happening but first make sure you add it right and use the guide I also provide above to figure this out: https://support.google.com/analytics/answer/1008080?hl=en as this should not happen. Also make sure that you haven’t made any other custom modification and check for that code in the html head tag of your theme files in the header.php file: http://screencast.com/t/VEmTyPW8v
If you still can figure this out please send your wp-admin login details at contact@tagdiv.com so we can also check this and send a link to this tread or specify your issue in details.
Please provide the page URL on which the lines do not appear so I can inspect this.
Thanks
Okey, this is for the AD Box, but i need to change also the ads on header, with a dobuleclick ads code…
@Lucian, Sorry to have commented on the wrong topic (about newsmag).
I wish my ad stay that way on all pages, posts and categories, below de main menu: http://www.screencast.com/t/6mgjQsbu
But it is getting that way: http://www.screencast.com/t/ZP5653su7pi
Actually I just wanted to reduce the space between the announcement and the links below it.
I am using the header style 3 with these settings: http://www.screencast.com/t/22u7izaff
Thanks again!
Hi,
The current icons is added using css and the newsmag font like this: http://screencast.com/t/YTiWaIaWBu
You can do this via css and add the icon as a background image url or you could for eg use font awesome and use the same method to add another icon.
You cloud also do this by editing the header-menu file and add the img icon like this: http://screencast.com/t/PZ6fw3mKSXr
Thanks
Hi,
You can add your header image as a logo and use the “Style 3 – full width logo” header style or you can also use this method to set an header image: https://forum.tagdiv.com/topic/header-image-3/
Hope this helps!
Thanks
Hi Lucian,
Thanks again for your excellent help. I checked with MaxCDN and they said the revolution slider arrow problem was due to browser security and I needed to add a CORS header in my .htaccess file to display the arrows correctly. They also gave me the code to do this. So that should fix that problem.
As regards the video playlist problem I’m puzzled because I followed your instructions and I still can’t get it to work.
The individual youtube videos play ok but not the playlist player.
Any further thoughts on this?
Thanks
Derek
Hi,
Thanks Chritopher!
@LiveRich Please make sure you don’t use any ad code into the header ad box as Christopher suggested and let me know if you still have issues with this.
Thanks
Hi,
Sorry for that, I haven’t noticed that it’s also affecting the social share icons. Please use this one, it should solve this: http://screencast.com/t/0uVsT4tiq5q
.single_template_7 .td-post-header {
padding: 20px 0px 0px 0px;
}
.single_template_7 .td-post-header .entry-crumbs {
margin-left: 20px;
}
Thanks
Hi,
Sorry for the delay!
I have checked your site and haven’t found the custom css I have provided you for your footer logo image: http://screencast.com/t/e00JA1NyXOeZ so please make sure that you have added it to your custom css filed in them panel and alps that you have add it right, like this: http://screencast.com/t/DqfaI5I5qjXv
Should work fine as I have tested this on your site: http://screencast.com/t/O1TiH59vW8N
I believe you refer to this full width image: http://www.kungalvsnyheter.se/td_d_slug_46/ which is the post template no 4 which unfortunately can’t be set elsewhere but on post pages.
If you want something similar on pages you can use the “Homepage – bg – no article list” template and remove the slider.
You can read more about how you can achieve this here: https://forum.tagdiv.com/topic/full-width-image-header-on-hompage/
Here are the recommend logo sizes both retina and regular logo: http://screencast.com/t/lBO69QXxxa
Thanks
Never mind! I figured it out 🙂
Theme Options > Theme Colors > Header
Hello, I just switched from the Newspaper theme to Newsmag, and I was wondering if there was a similar option to allow the header are to be opaque, rather than transparent as it is now. Since I use a background image, the logo disappears into the background image because they are similar colors. Can I make just the header area opaque, while keeping the sides of the site with the background image?
http://www.screencast.com/t/AI7PWfTzQ
Thanks in advance!
Christian
Don’t put an advert code in the header ad box ?
Choose different header layout from the theme panel ?
Perhaps be more specific.
How do you remove the advert that seems to be included in the header on each page? Thanks!
Hi,
It would be great to ad a new ad position, just above the post title and crumbs, and below the header (here an example). It would be nice for intance for auto promotion of Facebook fan page, or other ads formats, etc…
What do you think?