- 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
Try this css in theme panel > custom css: http://screencast.com/t/WIlobisQXp
@media(min-width: 768px){
#td-header-menu .sf-menu > li > a, .sf-menu ul .td-menu-item > a{
font-size: 8px;
font-weight: normal;
}
}
.td-header-main-menu{
height: 30px;
top: 15px;
}
.td-main-menu-logo, .sf-menu{
position: relative;
top: -5px;
}
You can modify the values as you like.
Thanks for the suggestion, I’ve added it on our list and we will consider it for next theme updates but we must choose carefully what features will implement as we have over 250 requests on our list, and the user always must get what is best from us.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi,
You can paste your script in the specific spot from Theme Panel > Analytics instead of editing theme file. Or you can follow the analytic guide and add your code in header.php file – http://screencast.com/t/x3Vr3umujtD
Thanks!
Hello,
The theme was built in such a way that there are 2 header styles (in your theme version) that do not pick up the mobile logo. These are style 3 and style 6. You are using header style 3 and this is a normal behavior of the theme, not a bug.
You could try to alter the theme files to force it to pick up the mobile logo but this requires custom work which unfortunately we cannot provide.
I hope this helps.
Thank you!
Hello ferdyjakal,
We know about this issue and this will be solved in future updates. This problem appear when using the header style 8->Hybrid menu 2 and create a drop-down top bar menu. Until the problem will be solved, i suggest you to use another header style.
Thanks for understanding!
Hello,
You can achieve that by using a conditional tag: if (is_shop())
You need to add it to header.php like so: http://screencast.com/t/kotasLeHV
I set it to header style 12 as an example. Change that part to the header style you prefer.
Thank you!
Thanks Bogdan! You’ve solved that completely!
How about if I wanted to add it, so it shows up at the top of a post? (So under the header, but above the content). Where I should I add the code on the default template? Thanks!
i made my website through Demo, and it will show on top,
buy now option, how to remove ?
Please Help
this is what i got in my homepage:
[vc_row][vc_column][td_block_trending_now navigation="manual" sort="random_posts"][td_block_big_grid sort="featured"][/vc_column][/vc_row][vc_row el_class="td-ss-row"][vc_column width="2/3"][td_block_1 custom_title="" header_color="#e29c04" border_top="no_border_top" td_ajax_filter_type="td_category_ids_filter" ajax_pagination="next_prev"][td_block_15 custom_title="" header_color="#0b8d5d" sort="random_posts" limit="8" td_ajax_filter_type="td_category_ids_filter" ajax_pagination="next_prev"][vc_row_inner][vc_column_inner width="1/2"][td_block_2 custom_title="" header_color="#4db2ec" sort="random_posts" limit="1" ajax_pagination="next_prev"][/vc_column_inner][vc_column_inner width="1/2"][td_block_10 custom_title="" sort="random_posts" limit="4"][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/3"][td_block_ad_box spot_id="sidebar"][td_block_6 custom_title="" header_color="#ed581c" sort="random_posts" limit="1"][td_block_8 custom_title="" header_color="#0152a9" sort="random_posts" limit="2"][/vc_column][/vc_row][vc_row][vc_column][td_block_14 custom_title="" header_color="#288abf" tag_slug="more news" sort="random_posts" limit="3" ajax_pagination="next_prev"][/vc_column][/vc_row]
And is not showing anything on my homepage: http://robertnoticias.com/
Hi there, I have my header background as clear right now and when I go to the website, it shows up as white instead of clear.
website: http://thecollegetriathlete.com/
I am using Adsense and I have had AdRotate installed since last Christmas.
I have added the shortcode for the Adrotate group to the Header field in your dashboard: http://take.ms/TcNhF
In Adrotate I have created a group and added the two ads: http://take.ms/io9Z6
Google Adsense code in Adrotate: http://take.ms/08yeH
I cannot see what’s going wrong?
Hi;
I’m using woocommerce plugin. I want to use different header (logo+menu) content for shopping pages and blog pages. Is it possible?
Thanks
Hi JDF,
I’ve checked the code on your site again and all seems to be good. Please make sure you put the correct code in custom CSS area within Theme panel like this: http://screencast.com/t/Gn4PaHPz
@media (max-width: 1018px) and (min-width: 768px){
.td-header-menu-wrap .span9 {
overflow: auto;
}
.td-header-menu-wrap .span9 {
font-size: 10px!important;
}
}
Here you can see the result: http://screencast.com/t/ln9p78N4qJ0
Thanks and let us how it goes!
Hi,
Sorry the code is not reacting.
I already have custom CSS on these two elements (this for desktop)
.td-header-menu-wrap{
background-color: #23282d;
width: 100%;
height: 22px;
font-family: ‘Arial’, sans-serif;
font-size: 11px;
color: #ffffff;
}
.span9{
background-color: #23282d;
height: 22px;
font-size: 11px;
width: 100%;
margin-top: -.2em;
}
May I did something wrong ?
Dear, Catalin
I want only the border, after Header style 2.
like see this http://www.screencast.com/t/diWkw0tS
Then my problem will be solved.
Thank you
Hi Aditya,
It is necessary to make some changes in style header-2 template for your customization like this:
http://screencast.com/t/pc3Td0DV and then try a bit of custom CSS below:
.td-header-style-2 .td-header-sp-logo {
margin-left: auto;
margin-right: auto;
}
.td-main-page-wrap {
padding-top: 22px;
border-top: 1px solid black;
}
The result you can see here: http://screencast.com/t/RHnTMiayh7y
Thank you and let us know how it goes!
Hi JDF,
Our theme does not support to add a widgets in top bar. If you want to put images or icons in your top bar menu, can try font awesome plugin to add this. For more details please consult our documentation here: https://forum.tagdiv.com/main-menu/ (in bottom of the page).
For a second request, I’ve checked your site and you must to try the code below:
@media (max-width: 1018px) and (min-width: 768px)
.span9 {
overflow: auto;
}
.td-header-menu-wrap .span9 {
font-size: 10px!important;
}
Here you can see the result: http://screencast.com/t/w7EAdbZEmjS
Thanks and let us how it goes!
Hi JDF,
I’ve checked your site and i saw your problem. Please try a bit of custom CSS like this:
@media (max-width: 767px)
.header-style-3 .td-logo img {
right: -75px;
}
Also please remove this CSS style:
@media (max-width: 767px)
.header-style-3 .td-logo img {
width: 35px!important;
}
The result you can see here: http://screencast.com/t/kirDo2EGY
Thanks and let us know how it goes!
-
This reply was modified 10 years by
Catalin.
Hi,
@reloaded I cannot provide a solution only for sidebar. If you add the condition in td_block_ad_box.php all the ads will be blocked in a post when you have the custom field enabled(header, article ads, sidebar).
Thanks!
Hi snowwatchGB,
I’ve checked your site and found you’re not using an adsense ad code and it doesn’t have the same structure: http://screencast.com/t/qHX6oUQi and that’s why the theme doesn’t re-sizes it and it look as it does on tablets screens.
Please make sure you use there just and adsense ad code: http://screencast.com/t/wTlFZSlu and test this again, this is how it should look: http://screencast.com/t/YBfXlkO8
If you need to rotate ads there we suggest you try an ad manager plugin like AdRotate like we also suggested in theme’s ads guide: http://screencast.com/t/1QFQWqVE1Ao – https://forum.tagdiv.com/header-ad/
Thanks
i want to make Header Style 2 Logo + ad after I did make a full border. like header style 11 border
Hello.
a. Could you consider adding a way to customize the top bar, just like the side bar, with widgets, especially “text widget” allowing to put inline html code, images and icons, etc… That would be really helpful !
b. On ipad my top bar text is too long and overflows the line. So I wish to change either the font size or the space between links. This specifically for tablet screens.
I tried this way
@media (max-width: 770px){ //// (most tablets are 768 I guess)
.td-header-menu-wrap{
font-size: 9px;
}
But it’s not reacting.
Is there a way to do this ? Sorry I’m a code noob
Thanks
Hi,
Thanks for your answer
I just cleaned all my custom css and deleted all the unnecessary stuff. Also I desactivated the plugins.
The error might be in the following lines (I copy pasted most from the other topics…..)
@media (max-width: 767px) {
#td-top-menu{
display: none !important;
}
.td-sp-ico-menu {
background-position: -20px -364px !important;
}
.blog-stack #td-top-search {
position:absolute!important;
right: 0px!important;
top: 0px!important;
}
.blog-stack .header-search-wrap .dropdown-menu{
left:-270px!important;
}
.header-style-3 .container-fluid{
position:relative!important;
left:-45%
}
.header-style-3 {
height:12px;
}
.header-style-3 .td-logo img{
width: 35px!important;
}
.block-title a, .block-title span, ul.td-category a, .td_social .td_social_type {
background-color: transparent;
color:#000000;
}
.td_block_wrap .block-title a{
color:#333333;
}
.blog-stack.td-boxed-layout .td-menu-wrap {
background-color: transparent;
border-bottom: 1px solid #ebebeb;
border-top: 0px solid #ebebeb;
}
.td_d_slug_1 {
display: none;
}
.clearfix{
height: 40px;
}
Sorry to bother you, I’m not good at this.
This is how I’m seeing it now, http://hpics.li/5c19f00
it displays the PC logo in miniature. Also the menu and search icons aren’t centered at they used to be.
Thanks for your assistance
Hello.
I wanted to make a custom header ad, got the ad working on the site by using this code
<div class=”td-visible-desktop”>

</div>
<div class=”td-visible-tablet-landscape”>

</div>
<div class=”td-visible-tablet-portrait”>

</div>
<div class=”td-visible-phone”>

</div>
however when i click the ad, nothing happens! How do I add a link the ad to an external website?
I basically uploaded the banner to my media files and put the link into your code, I couldn’t find any options for a external link option.
My website is http://www.YYCNow.com
Thanks
ok, i was able to hide the top header ad by modifying ads.php file in the “header” folder and the code i used is this one:
<div class="td-header-ad-wrap <?php echo $td_no_ad_class;?>">
<?php
//show the header ad spot
if (!get_field('hide_ad_all')) {
echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'header'));
}
?>
</div>
But i really can’t understand what to do for the sidebar.
I think the code to be used should be something like this:
//show the sidebar ad spot
if (!get_field('hide_ad_all')) {
echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'custom_ad_1'));
}
where “hide_ad_all” is a custom field i just created only for top header and sidebar ads and because i’m using custom ad 1 in the articles’s sidebar but i don’t understand where or in which file to paste this code. I tried with sidebar.php, td_block_ad_box.php and others but with no results.
if someone has any idea…
-
This reply was modified 10 years by
reloaded.
Hi shae101s,
as i said previously, i already managed to hide the 3 “in post” ads… but what i’m trying to hide as well are sidebar and top header ads which are located outside of the post’s loop. If a specific blog post is not compliant with adsense policy i guess that all of the ads must be deactivated and not only those inside the article by themself.