- TutorialsDefault Block Settings Guide
Hi,
Yes, edit the page change to Classic mode and take the shortcode like I have suggested above and use do_shortcode function to display it (depending on header style that you use) bellow menu.
Thanks!
Hi,
If you want to this banner to appear on all pages(post, categories…) you can use do_shortcode function and display it bellow the main menu.
*change to Classic mode and take the shortcode – http://screencast.com/t/yHgk8eeDqtTf
*edit the header file and use use do_shortcode to display your banner depending what header style you use – http://screencast.com/t/YeUw15OUHgVg
echo do_shortcode('your shortcode');
Result: http://screencast.com/t/M49oSLRDGt
Thanks!
hello, how to display the header
http://www.screencast.com/t/bzCA5VyC
on every page?
http://www.screencast.com/t/e9ZBee1cFZ
thanks.
I am working on speeding up my site but my host is saying this is slowing down the site:
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (6,7,8,2355,4974,4975,4976,4977) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Source:
/nas/wp/www/cluster-40360/websitename/wp-content/themes/themename/includes/wp_booster/td_data_source.php:284
Backtrace:
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/themename/page.php’), get_header, locate_template, load_template, require_once(‘/themes/themename/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/themename/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/themename/parts/header/header-menu.php’), wp_nav_menu, apply_filters(‘wp_nav_menu_objects’), call_user_func_array, td_menu->hook_wp_nav_menu_objects, td_block_mega_menu->render, td_block->render, td_data_source::get_wp_query, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
and
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (6,7,8,2355,4974,4975,4976,4977) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Source:
/nas/wp/www/cluster-40360/websitename/wp-content/themes/themename/includes/wp_booster/td_data_source.php:284
Backtrace:
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/themename/page.php’), get_header, locate_template, load_template, require_once(‘/themes/themename/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/themename/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/themename/parts/header/header-menu.php’), wp_nav_menu, apply_filters(‘wp_nav_menu_objects’), call_user_func_array, td_menu->hook_wp_nav_menu_objects, td_block_mega_menu->render, td_block->render, td_data_source::get_wp_query, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
Suggestions?
Fantastic!!! Thanks Alin For Helped Me
There are lots of Header Styles in Theme Panel, I’m using Style-3 but I want full width header in same style, Like you giving in Style-6 in top bar.
And Also Full-Width Footer
For Example – http://www.hongkiat.com/blog/
-
This reply was modified 11 years by
Sid.
Hi there,
Every time I upload a featured image it doesn’t stretch to the whole area on the front page – see http://www.janet-love.com
Is there a way to ensure the main image is auto-resized to take up the whole of the header carousel?
Darren
Hi,
Please try to set min height to 38px – http://screencast.com/t/xUXyyQvp
.td-header-menu-wrap {
min-height: 38px;
}
Thanks!
Hi,
Please remove the above code and try this custom css:
@media (min-width: 768px) {
.td-header-style-8.td-affix .td-li-wrapper-menu .sf-menu > li > a {
height: 76px !important;
line-height: 80px !important;
}
.td-header-style-8.td-affix #td-top-search {
top: 14px !important;
}
.td-header-style-8.td-affix {
height: 76px !important;
}
.td-boxed-layout .td-header-style-8 .td-menu-wrap {
height: 76px !important;
}
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Unfortunately the theme doesn’t have an option to set a different header for pages or categories, like Emil already stated we plan to improve this section, but we have a lot of features on the list and cannot provide a date for this. You can achieve this only with custom modifications, unfortunately we cannot offer custom work at this time as we work hard on development fixes and support.
Thanks!
Ok, i changed height of main menu and now is very good, but now i have extra space within main menu and body.
Do I need to change padding for body or something else?
I also changed padding to zero in header zone and white space is smaler and now looks better for me.
Hi,
The top menu was not designed to work on mobile, that’s why it is hidden. But you can use custom css in Theme Panel > Custom Css to show it on mobile but you may need additional customizations for menu items that may drop on more rows – http://screencast.com/t/TT9KZLijK7fK
@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
}
And also for mobile screen theme has a special menu designed for it – http://screencast.com/t/x18VmP2cg
Thanks!
and why not enable an independent header option for pages, this would solve the problem. The old theme that had used this option and solve the problem.
Hi,
The megamenu was not designed to work on top menu and you will need custom work for this and it is not an easy task, unfortunately we cannot provide any type of custom work at this time as we work hard on development, updates, fixes and support, but you can hire a freelancer to do this for you from sites like – http://studio.envato.com/
If you want you can change the header style and use only the main menu to the top – http://screencast.com/t/T1AWMrOP – http://screencast.com/t/9hwZ56Fmn
Thanks!
Hi,
Please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/9JU95Xx5B
@media (min-width: 1019px) {
.td-boxed-layout .td-header-style-8.td-affix .td-menu-wrap {
height: 76px;
}
}
Thanks!
Hi,
Please try to remove author meta from header file – http://screencast.com/t/4F8CdqERrt and use facebook debugger – https://developers.facebook.com/tools/debug/og/object/ and see if it works – http://screencast.com/t/cH2ZhIdkL
Thanks!
You do have this in your source code, if you look at it?
<meta name="author" content="TNTreport">
You might need to edit the main functions file being pulled in for the head element as found in the header.php file for 1.71: note reference to hooked/included element:
@see td_wp_booster_functions::hook_wp_head
So, if you open that file:
line 1461
// show author meta tag on sigle pages
$td_post_author = get_the_author_meta('display_name', $post->post_author);
if ($td_post_author) {
echo '<meta name="author" content="'.$td_post_author.'">'."\n";
}
}
-
This reply was modified 11 years by
simchris.
HI, Glenn
doh. That just proves I’ve been too busy working on our main business website this past couple of weeks to even think about that or minifying my CSS, for that matter for 1.71.
I guess we might need Marius or Radu’s (et al) help on how to revise this code for the shim:
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
since the new code in header is js_composer.css and old code is js_composer.css; not sure if we have to edit the booster main function file or what ?
This is totally a question for TagDiv support, so let us poke them on this one 🙂
You can change the header “style” from the theme panel to make them full width (I use style 8 myself).
You can change the logo from the theme panel under ‘header’ and the logos section.
Hope that is a starting point ?
TagDiv support closed weekends, but should be back today (Monday).
You need to remove the OG “author” tag from your posts.
I think you can remove this from the header.php file.
I hear you, thanks for the input. It shouldn’t be to hard to enable on that top header menu. I can style accordingly, just need to turn it on! The code is all being outputted just missing the javascript function.
Hi,
I want to remove the sidebar on mobile devices I have this CSS sidebar but still , any ideas
@media(max-width: 767px){
.single .td-main-sidebar {
display: none;
}
}
.td-header-style-10 .td-header-text-logo {
margin: 0px 10px 30px 30px
}
.td-footer-container {
margin-right: auto;
margin-left: auto;
position: relative;
background-color: #222222;
padding: 0px 0 0px 0;
color: #ffffff;
}
.td-pb-padding-side {
padding: 8px 0px 0px;
}
.td-footer-container .td-footer-info {
margin-bottom: 0px;
}
.footer-logo-wrap {
margin-bottom: 0px;
display: block;
}
.sf-menu > .current-menu-item > a, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .sf-menu > li > a:hover, .sf-menu > .sfHover > a {
background-color: #2daae1;
color: #000000;
z-index: 999;
}
.td-ss-main-content{
margin-left: 10px;
margin-right: 10px;
}
.td-page-title {
display:none;
}
.sf-menu > .current-menu-item > a, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .sf-menu > li > a:hover, .sf-menu > .sfHover > a {
background-color: #2daae1;
color: #ffffff;
z-index: 999;
}
.td-sub-footer-container {
padding: 0px 10px 0px 10px
}
.td-category-description{
padding: 23px;
}
.titulares {
font-family: ‘Roboto Condensed’, sans-serif;
font-size: 25px;
line-height: 35px;
font-weight: normal;
font-style: italic;
text-align: center;
text-transform: uppercase;
color: #4db2ec;
}
THX
hello,
i purchased the “Newsmag” theme about 3 months ago.
i’m trying to add an article ad after the first paragraph but the ad simply doesn’t show (after i added the code from adsense)
for the record, i also added header and sidebar ads and they both appear on the site without any issues.
please help me solve this issues, thank you.
I don’t think the mega menu can work on the tip top menu, but dropdowns do if you set them up in your appearance > menus in the normal wordpress fashion.
I think the way the theme is setup, you can choose a different header style which swaps the locations of the tip to menu with the normal “main menu” (at least you can on Newsmag, and if not in latest version of Newspaper, should be in Newspaper 5 ‘coming real soon now’ !).
Not sure that helps. Just a comment for a Saturday where I should be working on something else but burnt out on that 🙂
Hello,
I was wondering if the top header menu supports the mega menu drop down, or a drop down at all. It doesn’t appear to support it from what I am seeing. Neither the Mega menu or just a “traditional” drop down. It seems like the JS required to make the mega menu show/hide just isn’t being applied to the header menu.
If my assumptions are correct please tell me how I can make the mega menu work on the top header menu. Thanks!
Site Here: http://71.99.131.4/
You will need to remove the author meta tag from your header.php file and/or disable that option if using an SEO plugin like Yoast SEO, etc.