- 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
Hi,
Header style 10 that you are using is a full width header style, it can’t be reduced to a specific size. It will be reduced automatically when a general background is set.
Same for the footer, it will always be full width, unless a background is set. Both header and footer can be stretched, useful when a background is set and you want them to be full or specific width.
I could give you a code to set a max width for the header, header affix, footer Instagram, footer and sub-footer, you could give it a try
– http://prntscr.com/llgnb7
– http://prntscr.com/llgnr4
.td-header-style-10,
.td-header-menu-wrap.td-affix,
.td-footer-instagram-container,
.td-footer-template-13,
.td-sub-footer-container {
max-width: 1068px;
margin-left: auto;
margin-right: auto;
}
Thanks
Hi there,
just want to know if it’s possible to insert customize ad in the header for example, instead of having google adsense choosing ad I would like to display one of my ads banner.
Regards
Hi, I cannot save the text for the header ad in Newspaper, ver. 9.1 (<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>). It seems to be stuck in Svae mode, endlessly cycling. I’ve turn off the plug-ins one by one and don’t know what else to do. Have watched the tutorial video over an dover again. Thanks,
Hi,
1. Most header styles are designed to use a recommended logo size
– https://forum.tagdiv.com/logo-favicon/
Only header styles 9, 10 and 11 are different. These header styles will display the logo in the any size you create it
– https://forum.tagdiv.com/header-styles/
For example this theme demo uses header style 10 and a large logo
– https://demo.tagdiv.com/newspaper_cars/
When using header style 12 the total height of the header will be limited like this
– https://www.screencast.com/t/xPG0DeYjuR
If you want to use a logo with a 90px height, try to increase the line height of the menu to 90px, that will increase the overall height
– https://www.screencast.com/t/qJDQGUqJ8Kkg
Then set your desired logo, see how it looks.
2. The search can be displayed wither in the top bar or in the main menu
– https://www.screencast.com/t/cIX9JaxZItDP
When in the top bar it will appear before the socials. To place it to the right, after the socials, try this code
– https://www.screencast.com/t/Yt0fVR3RS1bz
.td-header-sp-top-widget .td-search-btns-wrap {
float: right!important;
}
Thanks
I don’t want a boxed version.
I want the header and footer to not stretch as per the settings in theme panel.
Hello,
I created a new site (I am having a multisite), and I got these errors/warnings on a blank white page, when I went to see the sites’ panel:
Warning: Use of undefined constant TD_THEME_VERSION - assumed 'TD_THEME_VERSION' (this will throw an Error in a future version of PHP) in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 20
Warning: Use of undefined constant TD_DEPLOY_MODE - assumed 'TD_DEPLOY_MODE' (this will throw an Error in a future version of PHP) in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 20
Warning: Use of undefined constant TD_DEPLOY_MODE - assumed 'TD_DEPLOY_MODE' (this will throw an Error in a future version of PHP) in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 20
Warning: Use of undefined constant TD_THEME_VERSION - assumed 'TD_THEME_VERSION' (this will throw an Error in a future version of PHP) in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 25
Warning: Use of undefined constant TD_THEME_NAME - assumed 'TD_THEME_NAME' (this will throw an Error in a future version of PHP) in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 25
Notice: Undefined index: TD_THEME_NAME in /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php:20) in /usr/www/users/kaupun/wp-admin/includes/misc.php on line 1126
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/kaupun/wp-content/plugins/td-amp/td_amp_version_check.php:20) in /usr/www/users/kaupun/wp-includes/pluggable.php on line 1219
I formally had my header and footer set to be stretched so it covered full width of the screen. I now wish to narrow the screen to see inframe ad space.
I have gone into theme panels, templates, force full width, and set all settings to “No Stretch” but still the header and footer are stretched to full width of the site.
I managed to fix the blocks within TagDiv composer.
Any advice on next steps ?
Hi,
1. That text should already be aligned to the left – http://prntscr.com/ll3xbr
So you want to align the header menu to the right, but not anything else.
Something like this would work for that – http://prntscr.com/ll40ec
#td-header-menu {
float:right;
}
2. For a proper solution I would need a link to the website, so I can test. There is a margin below the logo, but it’s not big. For me it looks like this
– https://www.screencast.com/t/ehJLveGC5xy
Setting a small line height for the main menu will affect the menu height as well. For example
– https://www.screencast.com/t/LyUcxrMLg
If possible provide a link to the website, with the header ad set so I can take a look and see what would be the best solution.
Thanks
I found that same logo on style 7 looks great, so tried to copy it css into Style 12, like so:
.td-header-style-12 .td-main-menu-logo img {
max-height: 106px;
position: relative;
padding: 6px 0;
line-height: 106px;
vertical-align: middle;
}
It doesn’t work. Logo size I need – 374px x 90px
-
This reply was modified 7 years by
pbc.
Hello I have two questions regarding css.
1. I want to make text in mega menu align left and menu itself align right: https://ibb.co/mhBbjq
I wrote following
.td-header-main-menu {
text-align:right;
But in this case text also align right.
Please assist me to leave main menu align right and the text in it align left.
2. I want to decrease space between logo and menu: https://ibb.co/irtp4q
I wrote following:
.td-header-style-1 .td-header-sp-recs{
margin: 20px -20px 0px 0px;
}
.td-header-style-1 .td-header-sp-logo {
margin: 0px 0px -20px;
When there is no HEADER AD this space is small as I wish,
But just I put any text in HEADER AD block this space again begins bigger then I wish.
May be ther eis some parameter for “Header ad” to minimize its margin as well?
Will appreciate your help!
Thank you.
Hi,
Please add the below custom css in Newspaper>Theme panel>Custom code>Custom css, the first css will hide the ad from all pots/pages/category, and the second one will display it in post( single ).
.td-a-rec, .td-a-rec-id-header_mob {
display:none;
}
.single .td-a-rec, .post .td-a-rec-id-header_mob {
display: block;
}
https://www.screencast.com/t/nilaaM2wIy
https://www.screencast.com/t/E8sk2f6c
Thank you.
Hi,I have 2 issues:
1.I use default logo size 272×90, and it’s hardly seen. How I can make header section higher, in order to use custom size logo. I use Header style 12. I also will need to display it on mobile with bigger size than default.
2. How to position search icon on right side, now it shown like here:

Hello, i am using the block header 13, and the background text is very hard to read. is there a way to make it just a litle bit darker?
i would need this to affect all block header 13 in the site. has i have many.
Thank you
Hi,
I create one custom page with background color. I put negative margin-top to up grey row, but there are a little white white band cannot be delete. the element is td-container-header td-header-row td-header-header.
how can i make the whole page gray by keeping the white menu juste for this page ? (the rest of website stay white)
Best regards,
Hi,
Please try this css
.td-header-menu-wrap .td-container, .tdc-row {
width: 1250px;
}
https://www.screencast.com/t/ZDDwpGywSR
Thanks.
Hi,
Please be notice that the theme do not change the look of your logo, you can try with another logos.
Or try to use another header
Header styles -> https://forum.tagdiv.com/header-styles/
Thank you for your understanding.
Hi,
I see the problem, but there are a lot more problems that the images not showing. For example the header search is not working, the block pagination next/prev is not working etc.
This would mean that the theme javascript is broken. There are some errors in the console related to a script that seems to come from the tribe plugin
– https://www.screencast.com/t/2HHzIs4QZ
So this could be caused by the tribe widget from the sidebar, seems to appear in all the website. Try to remove the widget from a post or page to see if the issue is fixed. Or deactivate the plugin and check again.
I remember other users saying that this plugin caused javascript plugins before. We haven’t made any tests with it, so I can’t say I know why this happens.
Some users had problems while others using the same plugin did not. Could be a settings within the plugin.
Thanks
Hi,
I see you have set a big ad in the header – http://prntscr.com/lknv8h
Header style 1 would not be suited for displaying such a large ad, the space for it is 728×90. Maybe consider using a header style thatdisplays the header ad above or below the menu and logo
– https://forum.tagdiv.com/header-styles/
In that case the large would look better.
In the posts I see Adsense ads like this – http://prntscr.com/lknxlb
– http://prntscr.com/lknxtg
If you want these Adsense ads to be of a specific size you could select this in the theme panel (for ads entered in the theme panel)
– https://www.screencast.com/t/d3l6fGXux5VH
I don’t see the other problem like the large ad in the post content. I checked multiple posts. Make sure that the respective ad has a maximum width of 696px, that is the width of the post content. The ad in that screenshot is much larger than that.
Thanks
Hello,
Thanks for an excellent theme!
I use a mix of ads on my site. Google’s Adsense and another program. Ads are placed in the header and on the sidebar but I also include ads in my posts using a plugin.
Attached is two screenshots from the site, showing how the ad banner is displayed far to wide for the partner program and shows a bit tiny for the Adsense ad. Can this be fixed?
Most important is to fix this for the non Adsense banner.
http://onkeltomsstuga.se/wp-content/uploads/2018/11/5e6aecb2-1925-419a-abf5-d3a983d75cb3.png
http://onkeltomsstuga.se/wp-content/uploads/2018/11/33fb8546-ae91-4751-baad-8515f09f75fe.png
Hello @khen888,
I too liked the modal login, but I found that the code updates were prodigious.
I ended up with a small free plugin as well called “Login Logout Menu”. It adds a modal login option that shows up as a custom menu option when you are editing your menus. Then, I made a new menu called “Top Bar Header Menu” and assigned the login/logout menu items to that. It works well.
Best,
Kim
I also use a plugin called “Frontend Reset Password” to customize my lost password page. In that plugin, there is an option to replace the login page with a custom page you build.
Hi,
I’ve enabled the tagDiv AMP plugin on our Newspaper blog (for posts only). AMP posts render, but they are missing header (no logo or categories, just a blank white space) and footer. How can I display the usual header and footer in AMP posts?
Thanks,
Russell
Hi Guys,
Hope all is well, I come with a strange issue, that I cannot seem to find a fix anywhere, I did have a look around but with no luck.
Issue:
My issues is very simple, and I have worked it out to be down to the “tagDiv Mobile Theme”. When enabled any pages such as “Terms and Coniditions” “Privacy Policy” and most recently I created a page called “Write for us”. All the pages work perfectly find on Desktop and also work perfectly fine when you disable “tagDiv Mobile Theme” however if you view the pages on a mobile device the content within is not shown you can only see the header and footer, but not the content on the page. If you disable the Mobile theme plugin and view again it works fine.
Possible Fix:
I think I need to make it so the Mobile Plugin only works on Homepages and posts, as it’s doesnt work on pages that I create, is anyone else experiencing this issue? OR do you know what may be causing this.
I would love to keep the mobile theme enabled as it speeds my site up however it would be great if i can view other pages on mobile other than Posts and the homepage.
Hope to hear from you soon,
Curtis
Hi,
For the moment is not possible to have multi headers, how you want.
Set the code
https://pastebin.com/q6MRbDQw
in header style 10
https://www.screencast.com/t/EhdvToo75GN
results : https://www.screencast.com/t/bKuW2GIj
.home .td-header-sp-logo a:nth-child(2),
.td-header-sp-logo a:nth-child(1)
{
display: none;
}
.td-header-sp-logo a:nth-child(2),
.home .td-header-sp-logo a:nth-child(1)
{
display: block;
}
.td-header-sp-logo a:nth-child(2){
padding-top: 20px;
}
https://www.screencast.com/t/ZjHlVqObCV
Thank you for your understanding..
Hi,
Some header styles cannot display a larger logo, they have specified logo sizes which should be used for the best results
– https://forum.tagdiv.com/header-styles/
– https://forum.tagdiv.com/logo-favicon/
The exceptions are header styles 9, 10 and 11. These header styles can display the logo you set in it’s full size. For example this theme demo uses header style 10 and quite a large logo image
– https://demo.tagdiv.com/newspaper_cars/
So you could use on of the mentioned header styles, which can display a larger logo size. Let us know if you have more questions.
Thanks
Hello again
Does the ads.php file only relate to ‘Header ad’?
Where is it best to add conditional code for the ‘Sidebar ad’ and ‘Footer top ad’?
Thanks
Alan