- 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
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
How can I remove/change theme name in script area?
var td_viewport_interval_list=[{“limitBottom”:767,”sidebarWidth”:251},{“limitBottom”:1023,”sidebarWidth”:339}];
var td_animation_stack_effect=”type0″;
var tds_animation_stack=true;
var td_animation_stack_specific_selectors=”.entry-thumb, img”;
var td_animation_stack_general_selectors=”.td-animation-stack img, .post img”;
var tds_general_modal_image=”yes”;
var td_ajax_url=”http:\/\/flyon.co\/ajax?td_theme_name=Newsmag&v=2.3.5″;
var td_get_template_directory_uri=”http:\/\/flyon.co\/skin”;
var tds_snap_menu=””;
var tds_logo_on_sticky=”show”;
var tds_header_style=”9″;
var td_please_wait=”Please wait…”;
var td_email_user_pass_incorrect=”User or password incorrect!”;
var td_email_user_incorrect=”Email or username incorrect!”;
var td_email_incorrect=”Email incorrect!”;
var tds_more_articles_on_post_enable=””;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=0;
var tds_theme_color_site_wide=”#0091f9″;
var tds_smart_sidebar=”enabled”;
var tdThemeName=”Newsmag“;
var td_magnific_popup_translation_tPrev=”Previous (Left arrow key)”;
var td_magnific_popup_translation_tNext=”Next (Right arrow key)”;
var td_magnific_popup_translation_tCounter=”%curr% of %total%”;
var td_magnific_popup_translation_ajax_tError=”The content from %url% could not be loaded.”;
var td_magnific_popup_translation_image_tError=”The image #%curr% could not be loaded.”;
var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
Hi
Add this css in theme panel > custom code > custom css to make the menu full width when page scroll down: http://screencast.com/t/yE1oILfynSKh
.td-header-main-menu.td-affix{
width: 100%;
}
Thanks!
Hello,
I’ve got 2 blogs Newsmag theme is loaded: one for testing, one for live.
On the test blog, I can add categories to a menu. I see a category list on the left. But on the live blog, I do not have a category list. So my blog’s header menu looks empty.
What could be the problem and how can I solve it? Please help
Here are the screenshots: http://imgur.com/a/HFdzI
Hi Catalin,
thank you very much for your quick response. I´ll do some further research before asking in the forum next time!
However, the most helpful link I could find regarding this topic was this one: http://code.tutsplus.com/tutorials/optimizing-wordpress-loading-speed-with-headerphp-htaccess–wp-25279
Regards,
Klemens
Hi,
The header file name is ‘header’ with a dot php at the end. Pretty straight forward.
Thank you!
Please what is the header file name, i want to add some code directly in the header just above the main menu
Check if this helps you:
https://wordpress.org/plugins/change-permalink-helper
This plugin is not a typical 301 redirection plugin this something else.
See what is says:
“When you change the permalink structure then this is a problem for bookmarks of users and also for search engines to link to your posts. This plugin uses the slug of the new url and search for a ID in the database of WordPress. If it finds a post according to the slug, the Plugin will redirect to the correct post and send a header message “moved permanently 301″ to change the url on the index of search engines.”
Wow, That is a whole lot of questions in one!
1) Unfortunately the latest articles cannot stretch to the whole width as they are not visual composer elements. There is no easy way to do it.
2) You cannot get the footer ad outside the footer. You will need to place the add in every post template, category template or page as the footer ad is meant to stay in the footer. It cannot create the necessary space for it in every other template that displays above it. If you want this custopmization you have a bit of work to do as you need to use this code:
Then place an ad in the custom ad 1 spot and then use it in every post template you use: http://screencast.com/t/pxohXgHczwym (these are in the root directory), the category pages: http://screencast.com/t/zgs5t556 , search results, and any other content you have on your site.
As you can see it’s not that easy.
3)You cannot add borders to the big grid as borders will increase the width with a few pixels and the grid depends on it’s fixed width. The layout will break if I add borders with css to it.
4)Please follow this topic to see how this issue can be resolved: https://forum.tagdiv.com/topic/chinese-social-icons/
5) a)It’s best to hide the section altogether and simply upload a mobile logo from the theme panel as there is no point in having 2 logos :
@media (max-width:767px){
.td-header-sp-recs{
display:none!important;
}
}
b) same issue as answer 4
Thanks.
Hello Andrei,
Similar to my previous requests, I am trying to change the way the category and tag titles look on my site.
At the moment, it looks like this:
http://glitched.co.uk/category/future/
As you can see, the padding is far left but there is still the black background around the title ‘Future’ and I don’t know how to get rid of it.
Please help,
Thanks.
I am getting Chinese characters on the social menu….top header and footer.
Hello,
How can I have a single menu link show on the top header bar when a user is logged in and hide it when the user is logged out?
Thank You.
HI,
in my category pages im using the Category template Style 8 (http://demo.tagdiv.com/newspaper/category/template-style-8/).
This template shows also up the empty child categories in the header. Any idea how to hide this empty cats?
best
Hello
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
#td-header-menu .sf-menu > li > a {
padding: 0 25px;
}
The result you should see here -> http://screencast.com/t/6JXWtRYT
Thanks.
Hello,
If you want a specific size for your logo, please use one of the full logo header styles: https://forum.tagdiv.com/header-styles/
This way the size you upload will be the size displayed on your site.
The logo on the sticky menu is a different matter altogether. It is re-sized to fit the container and the sticky menu. It cannot display in full size as it will not position properly and cause the menu to be too wide.
Thank you!
Hi Everyone,
Can someone help me fix my header logo?
I just want to retain the size of my logo
when scrolling down to my posts.
I don’t want it to re size its shape.
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/XCiK6aTS
.td-header-container {
width: 100%;
}
.td-header-top-menu, .td-header-header, .menu-main-menu-container {
width: 1021px;
margin-left: auto;
margin-right: auto;
}
Let me know how it goes.
Thanks!
Hey,
I didn’t use the shortcode method as it’s too confusing.
I just copied the Adsense code and pasted it in the header file and it worked.
Will this be okay?
Hi
By default the theme does not display the top menu on mobile devices. However you can use this css in theme panel > custom code > custom css to display the top menu on mobile: http://screencast.com/t/CR5mfgq8EON
@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
}
Thanks!
Hi,
The code I provided does exactly that. It removes the menu entirely with the hamburger dropdown, the logo, the search icon and the sticky menu. Simply add the code in the theme panel->custom css box and it should work. Mind that different header styles can have different results. I tested it on the default header style. If the code does not work on your end please provide a link to your website so I can inspect it.
Thank you!
Buna,
M-am uitat in consola si nu am vazut nici o problema… Cred ca este o eroare de cod pe undeva, spre exemplu:
HEADER STYLE functioneaza pot selecta un header de acolo, salvez si totul este in regula. Top bar, nu, daca dezactivez ceva, merge, de activat nu mai merge. Asta se intampla si la categorii, schimbarea pozitiei sidebarului…
Cu stima,
Vinturis Gheorghe.
Hi,
In order to have it display properly, you can add the code in a header file. In my case I use header style 1 so I would add the code here: http://screencast.com/t/aRWvffCK6q
This is a simple div you can add content to:
<div class="mycustomdiv">Add your content here</div>
After you do that, it needs a bit of css for positioning. you can add this code in the css box of the theme panel:
.mycustomdiv{
margin-left: auto;
margin-right: auto;
display: table;
line-height: 28px;
}
This will be the result: http://screencast.com/t/xTKGkiEmw
Hope this helps.
Thank you!
Hi
That happens because in your code is missing a bracket. Replace that code with this one, it should work fine:
<div class="td-header-rec-wrap">
<?php
// show the header ad spot
if (in_category('Automotive')) {
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_4"]');
}
else {
locate_template('parts/header/ads.php', true);
}
?>
</div>
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello Nassim,
If you want to align the menu you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-6 .sf-menu {
padding-top: 10px;
}
The result you should see here -> http://screencast.com/t/Bf1t1Db0e
The mega menu feature can be used only for the main item because it still using the sub-menu items (subcategory). For more information about this kind o feature, please check our documentation here -> https://forum.tagdiv.com/mega-menu/
Hope this helps!
Thanks.
Hi, i was wondering if there is any way of changing the menu on a mobile from the header style to the sticky version.
For example i want the <div class=”td-scroll-up td-scroll-up-visible”>
to replace
<div class=”td-header-wrap td-header-style-9″>
Hope this makes sense.
Thanks
Hi
The head tags are located in header.php file so you can paste your code here: http://screencast.com/t/TbIQt89WuA
Thanks!