- 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,
@ianternet I believe you are referring to the margin after the header. It seems there is a header ad code entered in the theme panel, but the ad is not displaying. The theme detects it and ads a margin top, see header style 6 here
– https://forum.tagdiv.com/header-styles/
There is an approval period before Google ads are displayed on the website, it may take a while according to them
– https://support.google.com/adsense/answer/76228?hl=en
I could give you a code to remove that margin
– https://www.screencast.com/t/56I9eni8E
@media (min-width: 1019px) {
.td-header-style-6 .td-header-sp-recs {
margin-top: 0!important;
}}
Enter the code in Theme panel->Custom CSS section if you decide to use it.
Thanks
I thought I had a solution to the problem of an unsightly header in a column text block with a border. Instead, adding an extra css class to any column text block, placed anywhere, top to bottom, in the first column using tagdiv composer breaks the 2 column layout, pulling all blocks into the first column and corrupting the header at the top of the second column. (column layout 2+1 with sticky column on front page, using your special class name for the row to get the column to work. I also have a full width row with a banner article above the 2+1 row.)
Details: Padding a text box with a border to move the text away from the border edges unfortunately also pads the header, which leaves an unsightly white strip beside it (using your default header, or any other header with a coloured background). The solution seemed to me to add an extra class to the text box (I tried several class names, all broke the column layout, whether or not there was any custom css composed for them.) The intent in css was: .adjust-title-somewhat.block-title {
margin-left:-4px;
}
The simple custom css ‘block.text {margin-left:-4px}’ works fine an all titles, unfortunately, as I have several titles not within a block and they promptly adjust leftward too. So, giving the titled block an extra class – a slight nuisance – seemed a solution to pinpoint the css change to that class only. (There may be a better way using a default parent class that identifies block titles from stand-alone titles, but I haven’t figured that out.)
At any rate, whether there is css information in the custom css for the ‘column text block’ particular extra class name or not, the simple presence of an extra class name in any column text block seems to completely screw up the layout once it is saved.
Ideas? Another way of preventing/removing the unsightly padding (or margining) of the title? Needless to say I do NOT want to go with a title without a background color, which would at least mask the title problem.
Regards,
Alan
Hi,
In the header I see for once that the header ad is not responsive, it appears to not be resizing properly
– https://www.screencast.com/t/0F7vS1aum5
The logo seems to be implemented differently then the recommended way, through uploading the image in the theme panel
– https://forum.tagdiv.com/logo-favicon/
Setting the logo like that will ensure that it will be displayed properly. If you want to keep the current implementation you could create conditions when on smaller screens, like maybe increasing the margin here on smaller devices
– https://www.screencast.com/t/sb3S4NtV
Thanks
Hi,
In the header I see for once that the header ad is not responsive, it appears to not be resizing properly
– https://www.screencast.com/t/0F7vS1aum5
The logo seems to be implemented differently then the recommended way, through uploading the image in the theme panel
– https://forum.tagdiv.com/logo-favicon/
Setting the logo like that will ensure that it will be displayed properly. If you want to keep the current implementation you could create conditions when on smaller screens, like maybe increasing the margin here on smaller devices
– https://www.screencast.com/t/sb3S4NtV
Thanks
Hi Catalin
I find the Solutions for Banners above top-menu and outside the boxed Content area in Header.php.
But now I Need to know, which php-file I Need to Change for placing a banner direxctly below themain-menu. Please give advice.
Cheers
Hansjörg
Hi,
I have inspected the website you provided, seems there are some conditions that are affecting the header search on mobile
– https://www.screencast.com/t/Q3LcbGAb13e
These codes are overriding the default theme conditions, if you were to remove them the result will be like this
– https://www.screencast.com/t/yW3WfxdC6O
I could give you a code to further override these but it would be better to remove the customization. Please check the theme custom CSS code section and remove these codes if they are located there.
Thanks
Hello tollywoodfans,
Unfortunately, please notice that we do not recommend to edit the header style increasing or decreasing the header logo section or something else because easily the theme’s layout can be broken and also, we cannot provide support for custom work, sorry! The theme has a big list of Header Style which offers you a wide variety of styles to choose from. Please check here -> https://forum.tagdiv.com/newsmag-header-styles/
Hope this helps!
Thanks for the message!
Hi,
The header and footer elements can be stretched using these options
– https://www.screencast.com/t/HP2vLLcqn
When building pages with the tagDiv composer the rows can also be stretched like this
– https://www.screencast.com/t/k0lwXD1y
Thanks
hi tagdiv team!
I want to ask what kind of header image to be responsive for all screen sizes? Try to open https://haqem.my/ then lower your browser size and see the header image does not fit the screen / browser size as at demo.tagdiv.com/newspaper
Thanks for reply. I checked, there’s no custom code inside theme, except adsense script in the header. And layout urls work perfectly on desktop version… issue is with mobile version. All other blocks working fine except the urls in Block 13.
Regarding speed… I found below objects from theme showing error 404. Can you please let us know how to resolve those errors?


Hello Hansjörg,
If you want to add a banner ad at the top of your site, you should edit the header.php core files and there you should use the do_shortcode method to add the banner you want. Please refer to this topic here -> https://forum.tagdiv.com/topic/how-can-i-put-ads-between-post-title-and-social-share-button/ -> here is a simple example.
Thanks for the message!
@Simion C., we are talking about Post style 8, not about Header style 8. 🙂
Hello,
How do I create wider layouts as shown in the Newspaper 8.5 update video? I cannot see any options to stretch the header, content and footer as shown in the video https://www.youtube.com/watch?v=Jf9-fsfwrp4 at 25 seconds?
Hi,
@arturkrzyk That is a used in the category templates, there are two templates that feature a transparent header. They can be seen in the live theme demo
– https://demo.tagdiv.com/newspaper/category/template-style-6/
– https://demo.tagdiv.com/newspaper/category/template-style-8/
You simply need to choose one of these templates for the category you want, in the theme panel
– https://forum.tagdiv.com/how-category-settings-work/
Be sure to set a background image as well for the category page where you apply the template, and that is all
– https://www.screencast.com/t/PqdqfPKlxtHZ
Please let us know if you need further help, or you have more questions.
There are also post templates that have similar design, see them here
– https://forum.tagdiv.com/post-templates-2/
These will use the featured image of the post as background.
Thanks
Hi Catalin
I want to add a banner not in the Header section but on top of the site.
I know, that there is no Option within the theme, therefore I am asking for the optimal
php file(s), where I had to place the ad code.
Cheers
Hansjörg
Hello Hansjörg Leichsenring,
Using the default settings from Theme panel, notice that you can add the banners above the top-menu and below it but the theme does not have any such an option that allows you to add something like this outside the boxed Content Area. Please check the Theme panel settings from here -> https://forum.tagdiv.com/header-ads-adsense/
Thanks for the message!
Hi,
The header search seems to be in the right place at the moment
– https://www.screencast.com/t/11g8ja79V9ZY
In all cases until now the issue has been solved by clearing installed caches.
Thanks
Hello tollywoodfans,
Unfortunately, the theme does not have any such an option that allows you to do this, sorry! If you want to use the logo in full width, you should try using a header style which uses the logo in full-width dimensions like header style 10.
Thanks for the message!
Hi,
You could try the code provided below with this result
– https://www.screencast.com/t/HSMlIel5lCUh
@media (max-width: 1018px) {
#td-top-mobile-toggle {
display: inline-block;
position: relative;
}
#td-header-search-button-mob {
display: block;
}
.header-search-wrap .td-icon-search {
color: white!important;
height: 54px;
width: 54px;
line-height: 54px;
font-size: 22px;
margin-right: 2px;
}
.sf-menu,
#td-header-search-button {
display: none;
}
body .td-header-wrap .td-header-main-menu,
.td-header-wrap .td-header-menu-wrap-full {
background-color: #fdc42d !important;
}}
Or make modifications to it as you wish if needed, then enter it in Theme panel->Custom CSS section.
Thanks
Hi,
I am wondering if there is a way I can reduce the space between the header ad and the title of the article.
Here is an example:
http://www.lefutboldaily.com/lukaku-defends-poor-touches-against-manchester-city/
my ads does not come on the front pages header but come on the other page headers
i want to increase the header ad size from 728*90 to 970*90 as my logo size is less … Can u help me with the css modification
I’m wanting to put the adminbar (admin toolbar) inside a wrapper like the top bar.
<div class=”td-container td-header-row td-header-top-menu”>
Any ideas how to achieve this?
Hi,
I have this white padding space between my header and the big grid 1 in mobile view. I wish to remove this white space in mobile view only (the space can remain in ipad and desktop view).
I have tried this CSS and pasted in the Theme panel>Advanced CSS>Phones but it has no effect:
.td-main-page-wrap {
padding-top: 0px;
}
Please see link: https://imgur.com/a/96YYt
Thank you for your help.
I’m experiencing issues with the Theme Colors section of the theme panel. When I click a section I see the loading squares but nothing appears. The only menus that appear are under ‘Header > Header’, and ‘Footer > Footer / Sub-footer’.
I haven’t touched the Theme Colors area since my initial install but recently required some changes. This area was working fine back then.
Also within the ‘Theme Panel > Plugin’s Settings > Multi-Purpose’ section I get the following error:
<div class="td-box-control-full">
<br><br>wp booster error:<br>td_api_base::mark_used_on_page : a component with the ID: tds_api is not set.<br>/var/www/html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php<br><br>wp booster error:<br>Missing parameter: 'file'<br>/var/www/html/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php<br>
<b>Fatal error</b>: Uncaught Error: Class 'tds_api' not found in /var/www/html/wp-content/plugins/td-multi-purpose/td_panel_settings.php:22
Stack trace:
#0 /var/www/html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php(139): require_once()
#1 /var/www/html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/td_view_panel.php(3): td_panel_core::render_panel(Array, 'theme_panel')
#2 /var/www/html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/td_panel.php(103): include('/var/www/html/w...')
#3 /var/www/html/wp-includes/class-wp-hook.php(286): td_panel->td_theme_panel('')
#4 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /var/www/html/wp-admin/admin.php(224): do_action('newspaper_page_...')
#7 {main}
thrown in <b>/var/www/html/wp-content/plugins/td-multi-purpose/td_panel_settings.php</b> on line <b>22</b><br>
</div>
Thank you,
Brent