- 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
1. You can change the header background color from theme panel > theme colors: http://screencast.com/t/Df7P0aCba – http://screencast.com/t/3W5DO3M8hQfs
2. The latest article sections don’t uses elements from Visual Composer, that section it’s generated according with settings from post loop settings: http://screencast.com/t/bjlWMMDoU1
The theme have an ad spot for footer ads in theme panel > ads sections: http://screencast.com/t/fSqD3AhyGo – http://screencast.com/t/eLb6IhnwEsa
Let me know how it goes and if this is not what you mean please provide more details.
Thanks!
Hi,
Try to deactivate all plugins except Visual Composer, clear the caches then check if this errors still appear in error log.
The last two errors occur when you try to access the theme’s index.php file directly and this is caused by the theme’s inability to locate the WordPress get_header function as it dose not passed trough WordPress when the request is made and in that case the function doesn’t “exist”.
You can read more about this and also have a solution for this here: http://ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/
Hope this help.
Thanks
Hello,
In header style 4 in order to change the size of the menu a bunch of properties will have to be changed.
Use this custom css to get it done:
.td-header-menu-wrap-full{
height:40px!important;
}
#td-header-menu{
min-height: 40px!important;
}
.sf-menu > li > a{
line-height: 40px!important;
}
.td-main-menu-logo{
height:40px!important;
}
Place it in the theme panel->custom css box. As for the logo, you can hide it with css and then use font awesome to insert text symbols in the menu if you want.
I hope this helps
Thank you!
Hello,
I created the code on my top bar and it works at my end. Maybe you have some css for the top bar that does has a higher priority. You can use the !important attribute to make the css higher in priority. use it like so:
.td-header-top-menu{
font-size: 13px!important;
height: 60px!important;
}
.td-social-icon-wrap .td-icon-font{
font-size: 13px!important;
line-height:50px!important;
}
.td-header-sp-top-menu{
line-height:50px!important;
}
If it still does not work, please provide a link to your website so i can inspect it.
Thank you!
How to set iframe fixed in Raw Html?
This is my web: http://phut90.vn/livescore#inscore_ifheight_xdc_4006
the frame was be broken size when i zoom in or views on phone, Tablet.
Thanks
1.
( “<iframe id=”inscore-xdc-178218″ src=”http://www.livescore.in/vn/free/178218/” width=”790″ height=”500″ frameborder=”0″ scrolling=”no”></iframe>
<script type=”text/javascript”>/*<![CDATA[*/try{function inscore_178218_xdc(){this.elm = null;this.hash = null;var times_resized = 0;var times_not_resized = 0;this.resize = function(){times_resized == 1023 && (times_resized = 0);times_not_resized == 1023 && (times_not_resized = 0);if(this.getElm() && location.hash && location.hash != this.hash){this.hash = location.hash;var reggg = new RegExp(“.*inscore_ifheight_xdc_([0-9]{2,5}).*”);if(result=reggg.exec(location.hash)){this.getElm().style.height = (typeof result[1] == “undefined” ? “10000”:(result[1] > 500 && result[1] <= 30000 ? parseInt(result[1]):500)) + “px”;times_resized ++;}} else if(location.hash && location.hash == this.hash) times_not_resized ++;else return resize_later(75);resize_later(250);};var resize_later = function(time){setTimeout(function(){ inscore_178218_xdc_run.resize(); }, time);};this.getElm = function(){try {(typeof this.elm == “undefined” || this.elm === null || !this.elm) && (this.elm = document.getElementById(“inscore-xdc-178218”));} catch(e) { this.elm = null; }return this.elm;};var show_links = function(){if((times_resized >= 1 || times_not_resized >= 2) && (obj = document.getElementById(“freescore_links_178218”))){obj.style.visibility = “visible”;obj.style.display = “block”;} else show_links_later();};var show_links_later = function() { setTimeout(function(){ show_links(); }, 100); };if (typeof window.postMessage == “undefined”){show_links_later();resize_later();}else{var ev = function(event){try{var data = JSON.parse(event.data);}catch (e){return;}if (data instanceof Array && data[0] == 178218 && typeof data[1] != “undefined”){eval(data[1]);}};if (window.addEventListener){window.addEventListener( “message”, ev);}else if ( window.attachEvent ) {window.attachEvent(“onmessage”, ev);}setTimeout(function(){ document.getElementById(“inscore-xdc-178218”).contentWindow.postMessage(JSON.stringify([“178218”, “run”]), “*”); }, 2000);show_links_later();resize_later();}};var inscore_178218_xdc_run = new inscore_178218_xdc();}catch(e){document.getElementById(“inscore-xdc-178218”).style.height = “10000px”;}
/*]]>*/</script> )
2.
( <iframe src=”http://www.tablesleague.com/iframe?width=700&height=469&font_name=Verdana&position=1&font_size=14&team_link=0&link_color=404040&games=1&wins=1&draws=1&lost=1&goals=1&goals_against=1&gd=1&points=1&next=1&form=1&font_size=14&font_color=000000&bg_color=FFFFFF&header_font_color=FFFFFF&header_bg_color=1fb9e4&bg_col=1fb9e4&font_color_col=FFFFFF&highlight=e3e3e3&hover=8cd214&league_header=0&league=l_145&team=&timezone=7&language=2&team_flags=0″ width=”700″ height=469 frameborder=”0″ scrolling=”no”></iframe> )
Hello,
I’m using the ‘Homepage latest articles’ template and having difficulties changing this.
1) I would like to change the background of the header – it remains #000000
2) I would like to place a footer ad but the latest articles does not allow any other widgets/boxes in the Vis composer. How do I get around this? Is it easier for me to replicate the latest articles myself rather than using the template?
Many thanks!
Hi Andrei,
I updated the theme to its latest version. It’s better but I’m still getting errors. I know my host works differently from other hosts and sometimes there are php errors even though their minor.
[Tue Nov 17 06:54:13.832421 2015] [:error] [pid 7714] [client 173.255.198.194:37051] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 515
[Tue Nov 17 06:54:13.832512 2015] [:error] [pid 7714] [client 173.255.198.194:37051] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 524
[Tue Nov 17 06:54:14.161822 2015] [:error] [pid 7714] [client 173.255.198.194:37051] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 515
[Tue Nov 17 06:54:14.161933 2015] [:error] [pid 7714] [client 173.255.198.194:37051] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 524
[Tue Nov 17 06:55:29.028812 2015] [:error] [pid 7714] [client 173.255.198.194:37247] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 515
[Tue Nov 17 06:55:29.028893 2015] [:error] [pid 7714] [client 173.255.198.194:37247] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 524
[Tue Nov 17 06:57:37.933117 2015] [:error] [pid 7718] [client 173.255.198.194:37525] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 515
[Tue Nov 17 06:57:37.933203 2015] [:error] [pid 7718] [client 173.255.198.194:37525] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-41332/dailyhp/wp-includes/functions.php on line 524
[Tue Nov 17 08:25:39.461467 2015] [:error] [pid 21992] [client 66.249.69.69:46868] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-41332/dailyhp/wp-content/themes/Newsmag/index.php on line 6
[Tue Nov 17 23:12:29.474414 2015] [:error] [pid 27828] [client 66.249.69.69:39472] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-41332/dailyhp/wp-content/themes/Newsmag/index.php on line 6
Only the last two errors seem to be from the theme. Since the update the situation’s definitely got better. I’ll keep monitoring.
Thanks!
Hello,
Let me first explain what I have in mind:
1.Every category should have option to add header image (width of the td-category-header NO full page width).
2.Every post would then have that option too.
My concerns:to be responsive, not to be ruined by an update.
Important: I don’t want to have the same image on all of the categories. I can’t stress enough how important it is for me to have that kid of flexibility.
Could you be so kind to provide me with some code and manual have to achieve that.
Regards
Hi,
I use style 4 in header.
First I want to change the height from 48px to 40px. Then I don’t want to use a image as header logo. I want to use normal text in the logo area.
What’s the best way to do that?
Thank you guys!
Hello,
I’m trying to create my own block-title header for a section where readers can sign up to my newsletters.
I’ve got it in an ad unit slot so it’s below my article.
The current code is:
<h4 class="block-title"><span>Sign up for our newsletters</span></h4>
This has made the title text centered and not aligned left? How can i get it to align left (like the other block titles on the page) and make the font bigger for this title only?
Thanks,
Hello,
You can use this custom css for all of your requests:
.td-header-top-menu{
font-size: 13px;
height: 60px;
}
.td-social-icon-wrap .td-icon-font{
font-size: 13px;
line-height:50px;
}
.td-header-sp-top-menu{
line-height:50px;
}
The font-family can be changed from the theme panel->fonts section.
Thank you!
Hello,
You can remove breadcrumbs for the whole website from the theme panel: http://screencast.com/t/NbbBFdRLjJtA
If you only want to target posts, you can use css to hide them:
.td-post-header-holder .entry-crumbs{
display:none
}
Add the code in the theme panel->custom css box if you plan on using it
Thank you!
Hello,
I’m glad you solved your logo issue. If you want to modify the code for the logo, you can find it here:
This is the header style you use: http://screencast.com/t/YEyhPxWL and it calls this file for the logo: http://screencast.com/t/2kclcZcJ
I hope this helps
Thank you!
Hi,
Please check this guide about how to embed a fb video – https://developers.facebook.com/docs/plugins/embedded-video-player
The body tag is open in header.php file – http://screencast.com/t/EJnYbXhWGlPY
Paste the embed code in text html mode – http://screencast.com/t/J1EpADWm – http://screencast.com/t/7Zv1KABH5mH
Thanks!
Hello George,
Unfortunately if i remove the white space from the mobile version, you will no longer have the scrolling logo. It is defined in those white spaces under the main logo.
You could use this code and give up the scrolling logo for the mobile version:
@media (max-width: 767px){
.td-header-menu-wrap-full{
display:none
}
.td-main-page-wrap{
padding-top: 5px!important;
}
}
result: http://screencast.com/t/pI1XSwdlm
Unfortunately it’s either white space or no scrolling logo. This is how the menu is set up.
I hope it helps
Thanks.
Hi,
we use the cache plugin wp-rocket and when we use the option “minify js” is displays not article Image when we use article style 6. Although I have the option to exclude JavaScript from caching but not script in a php file.
Now the question: is there a way specifically to create this script as a .js file?
All of a sudden images do not show up as soon as i activate the booster plugin? Worked just fine for 2 weeks then all of a sudden it makes all my images not show up when activated?
Note: I have not updated any plugin nor have i installed anything new or any code been changed? The only thing i have done it’s change my htaccess a week ago for headers expires but that should not have anything to do with anything period? Help would be greatly appreciated~
Hi: Thank you for your comments. We have now filled the header banner (see http://lagoonpondassoc.org/newspaper). However, we would like to have several headers selected on a random basis. I have looked for the equivalent of the WP get_header function but cannot find it. We would set up a child theme to hold its replacement if it made sense. Can you point me to the function or class that provides the header image in the building loop?
Regards. Thank you.
Is there a way to be able to change the header background color, mobile menu and search icon so it reverses to black menu and search icon and white background header on mobile at a certain responsive point.
Hello,
Unfortunately we cannot access your website to see how you have it set up. For a full image logo try using a header style that supports full size logos: https://forum.tagdiv.com/header-styles/
(style 9, 10 or 11). Then you can upload a logo as big as you want and it will display the full size.
Thank you!
Hi
The head tags are located in header.php file so you can paste the code here: http://screencast.com/t/X5OSJBNWc2B
Hope this help.
Thanks!
Hi 84KcZ,
By default the theme doesn’t display the top bar on mobile devices, but you can use custom Css in Theme panel > custom css to display the top widget, like that: http://screencast.com/t/XOWNRilgrU
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
The result should see here: http://screencast.com/t/5SwmvehF1c
Thanks!
Hello, I have a website weshapelife.org and I’m running google adsense. I filled the 3 available location namely top article, inline and bottom. recently, google introduce new technology about the ads which is the Page-level ads, I want to inject the code but I don’t know how because the tutorial asked me to paste it between header tag of eachy every page but I want to do it for all the Posts. Please help. thank you
Hello,
1) You can use this css for the desktop version:
.td-main-menu-logo img{
margin-left:128%!important
}
You can use the same method to apply it to the tablet and mobile version of your website.
2)You can hide it using this code:
.td-header-menu-wrap-full{
display:none!important;
}
Hello,
I’m having a lot of PHP erros in my log. Most of it seems to be coming from the theme. Just to name a few:
[Mon Nov 16 03:37:11.151423 2015] [:error] [pid 29173] [client 66.249.69.69:27923] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-41332/mysite/wp-content/themes/Newsmag/index.php on line 6
[Mon Nov 16 04:53:26.424720 2015] [:error] [pid 29176] [client 173.255.198.194:43387] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/mysite/wp-includes/functions.php on line 515
[Mon Nov 16 04:53:26.424800 2015] [:error] [pid 29176] [client 173.255.198.194:43387] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/wp/www/cluster-41332/mysite/wp-includes/functions.php on line 524
[Mon Nov 16 04:56:01.964486 2015] [:error] [pid 29179] [client 74.59.211.106:19727] PHP Warning: Invalid argument supplied for foreach() in /nas/wp/www/cluster-41332/mysite/wp-content/themes/Newsmag/includes/wp_booster/aurora/tdx_options.php on line 116, referer: http://mysite.com/wp-admin/admin.php?page=td_theme_panel
I’m currently hosted with WPEngine.
How badly does it affect my site? And how can it be solved?
Thanks.