- 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,
The line height setting for the main menu will affect the total height of the menu. Please set the value to 48px here
– https://www.screencast.com/t/myteWp1E86k
Then the header will be similar to when in sticky mode
– https://www.screencast.com/t/D2J0m9GIeFy0
Thanks
Add following code to the custom CSS in theme panel
.td-fast-news .td-header-wrap .td-header-menu-wrap-full, .td-fast-news .td-header-menu-wrap.td-affix {
background: #533e95!important;
}
Hope this will help you.
Thank you for your understanding.
Hi everyone,
Can anyone please tell me how to make header like this: https://imgur.com/a/XT0XbF1
Good day,
I’d like to use some PHP code in the header ad’s space. This was previously working until I updated the theme and likely reset some coding I did.
The site is https://moarcookies.com
The code is using the plugin Twitch Conditional and the code I’ve previously used was:
<?php if (twitch_is_live('moarcookies')) { ?>
<div align="center" style="background-color:#c1711b; color:#fff; padding-left:10px; padding-right:10px;">We’re Live! Come join in the conversation and click on the Twitch icon in the lower right of the stream!</div><br /><div id="twitch-embed"></div>
<script src="https://embed.twitch.tv/embed/v1.js"></script>
<script type="text/javascript">
new Twitch.Embed("twitch-embed", {
width: "100%",
height: 480,
channel: "moarcookies",
allowfullscreen: true,
});
</script>
<?php } else { ?>
<?php } ?>
This would set it to only show up when the stream is live, and disappear when we’re not live. I’ve tried using the code in parts>header>ads.php but it didn’t work at all. Is there somewhere else I can place it so that it looks the same as it does right now?
Hi,
I recently installed the “About Page Header HERO” template for one of my pages. I cannot figure out how to change the background image. Pleas help.
Thanks
Hi,
Unfortunately I do not know how to do this, this require a higher skills, I think this is possible.
In upcoming updates will come with some more control over headers.
Sorry for the inconvenience.
Thank you for your understanding.
Hi,
I understand what you mean, but I can’t think of way to be able to do that however. What I can say is that we are working on a header builder, with it this maybe be possible, can’t say for sure. Sorry for any inconvenience.
Thanks
Hi.
Is there a way within the template setting to control that background of the section where the header ad is. I want to make it partial transparent.
I can see i serval posts that you are developing a header builder, when will this be available ?
Hi,
If this is want you want to achieve https://www.screencast.com/t/POmHU98OZ
You need to have set header style 10 , go in wp-content\themes\Newspaper\parts\header\header-style-10.php
https://www.screencast.com/t/o3a9qpxf0e
https://www.screencast.com/t/odRjWrV6t
Hope this will solve your desire.
Thank you.
Hi,
In most cases you would have to change the logo size to fit the header, not the opposite. Most header styles have a recommended logo size for good results
– https://forum.tagdiv.com/logo-favicon/
The exceptions are header styles 9, 10 and 11, these will display the logo in full
– https://forum.tagdiv.com/header-styles/
I should specify that currently there is a header builder in work, this will add more flexibility to the way header styles are built and can be used.
If the problem you are having is a different one please correct me.
Thanks
Hi,
In order to achieve this you need to set manually in theme file one of this logo.
For example in header style 1, first I gate the url of image, go in media
https://www.screencast.com/t/qeNPPh5J
https://www.screencast.com/t/JvqazJwMw
Here is the result: https://www.screencast.com/t/mLyujVXW0RX
Thank you for your understanding.
Hey ho again…
Thanks for all of your help.
The solution with the childtheme and the modified header-style.php is working flawlessly. I got the changing header logo for the is_page and the is in_category function (With 4 different logos).
But there is still a little problem with that. The thing is that there are some posts, who are in multiple categories. For example category1 (with headerlogo 1) and category2 (with headerlogo 2).
If I visit for example a page or a category page where the posts are, the logo is doing just fine, but if I click on a post and want to view the single post, the head always shows the headerlogo1 of category1 (I guess it has something to do with the alphabetical order of my categories).
Headerlogo1 in this case isn’t wrong, because the post is in this category as well.
But when I am visiting category2 and click on a post I want to have the head showing headerlogo2 and not headerlogo1.
I hope you’ll get my point.
How can I influence the headerstyle, that wordpress knows from which page I am coming from and displays the correct logo?
Is this possible at all?
Thanks in advance
Hi,
Please remove the favicon from the Newspaper>Theme panel>Header>Logo&Favicon
https://www.screencast.com/t/aL7Znmdh8
https://www.screencast.com/t/uDM1mHLIGVS
Thank you for your understanding.
Hello snowsbest,
You should use the code below if you want to remove the header ad only for this page.
.postid-35506 .td-header-rec-wrap{
display:none;
}
The result is here -> https://www.screencast.com/t/OmgryPHC7cz
Thanks for your understanding!
Hey ho again…
Thanks for all of your help.
The solution with the childtheme and the modified header-style.php is working flawlessly. I got the changing header logo for the is_page and the is in_category function (With 4 different logos).
But there is still a little problem with that. The thing is that there are some posts, who are in multiple categories. For example category1 (with headerlogo 1) and category2 (with headerlogo 2).
If I visit for example a page or a category page where the posts are, the logo is doing just fine, but if I click on a post and want to view the single post, the head always shows the headerlogo1 of category1 (I guess it has something to do with the alphabetical order of my categories).
Headerlogo1 in this case isn’t wrong, because the post is in this category as well.
But when I am visiting category2 and click on a post I want to have the head showing headerlogo2 and not headerlogo1.
I hope you’ll get my point.
How can I influence the headerstyle, that wordpress knows from which page I am coming from and displays the correct logo?
Is this possible at all?
Thanks in advance
Hi there,
need to create a own page with personal HTML code and own CSS.
I know something about HTML and CSS but nothing about PHP.
I have done the same with another theme…
– I have created a page-SLUG.php clone. SLUG is the page ID of page I have created in WP dashboard;
– I set “@import url(“stilePalinsestoSchermo.css”);” in style.css;
– I have edited page-SLUG.php; I have erased all codes between get_header and get_footer;
– I have added HTML code (+ some scripts in javascript);
How can I do it in Newspaper?
Hi
I am trying to add a Billboard Banner above my logo and menu in Newspaper, i have tried several different options as per Newspaper settings but nothing has worked.
I have tried creating my own template, which works ok and i am allowed to place ad spots where i need them. However, i then cant use the default header that comes with Newspaper. You can see my current set up here https://socanews.com
Please let me know if possible
How to change the header size to fit my logo ? my logo looks very small.
Can i have a separate logo for sticky header ?
How can I add a default text end of “get_title”?
<header class="td-post-title">
<?php echo $td_mod_single->get_title();?> Biography
<?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 } ?>
Hi Calin,
Thanks for helping.
There is one more query, I am getting a non https image on my website from theme style. I found it using inspect elements tool.Please look at below code:
.td-page-content .widgettitle {
color: #fff;
}
.td-menu-background,
.td-search-background {
background-image: url(‘http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/4.jpg’);
}
.white-popup-block:before {
background-image: url(‘http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/1.jpg’);
}
ul.sf-menu > .td-menu-item > a,
.td-theme-wrap .td-header-menu-social {
line-height:70px;
}
Can you please help me removing these images link?
Thanks
-
This reply was modified 7 years by
buffercode.
I found an resolve the problem.
Check this material for details: https://blog.christopherburg.com/2017/10/18/safari-11-multiline-http-headers-and-nsposixerrordomain100/
How can I create a custom navigation bar inside the main header menu?