- TutorialsDefault Block Settings Guide
Hi, is it possible to insert different header ads for each category? Because my client wants to sell this banner to different clients. Not only to one client.
Thanks Patrick
maybe you know how to get the background size of header
Dont work for me, the stretch row option dont work on any kind of VC block. I even tried creating a new page and nothing.
I use background color and header style 12 if u can try to reproduce the problem.
Odd problem. I recently redesigned my logo and masthead and uploaded to my Newspaper site. Now whenever I load a page, the logo appears while the page is loading, but as the page load finishes, the logo gets slightly larger, ~5%. It’s distracting, and gives the impression of an amateurish site.
Any ideas why this is happening? I’m using header style 12. My site is enwealthen.com.
Jack
Hi,
That pointing down arrow is an indication that the respective menu item is a mega menu. You could remove them with a code like this – https://www.screencast.com/t/5BinHrCpef or you could reduce the padding between the menu items like this – https://www.screencast.com/t/P4mY0kdY
These are the codes used in the example for the icon removal
#td-header-menu .td-icon-menu-down {
display: none;
}
And this for the padding reducing
#td-header-menu .sf-menu > li > a {
padding-right: 10px;
}
Each or both must be entered in Theme panel->Custom Css – https://www.screencast.com/t/UgF19q3PxS
Please note that if you choose to update to the latest version, there is an option to stretch the header menu – https://www.screencast.com/t/WkfKkTBte so in the case of having more menu items there will be more available space.
The changelog for the latest update can be seen here – https://themeforest.net/item/newspaper/5489609
Thanks
Hi,
That is how it is supposed to look in header style 8 – https://forum.tagdiv.com/header-styles/ – https://www.screencast.com/t/qGn2N8FUpwM
Please make sure you are setting a logo of the required size – https://forum.tagdiv.com/logo-favicon/ and also that you use the full size – https://www.screencast.com/t/Hl5c44JtMO9l
Thanks
Hi
Soon after updating to Newspaper v7.8, the ClamAV Virus Scanner has flagged the files below as Malware. Could you please urgently advise on what to do.
Should I Quarantine, Destroy or Ignore????
Thanks
public_html/wp-content/themes/Newspaper/style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/editor-style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/style.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/includes/less_files/type.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/mobile/includes/less_files/video-playlists.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/panel/color_picker.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/panel/box.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/external/ace/ace.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/original.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/solarized.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/inc/solarized-dark.css Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/original.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/solarized-dark.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/wp_booster/external/kint/view/less/solarized.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/header-style.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/header.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/type.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/block-templates.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/less_files/video-playlists.less Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/themes/Newspaper/includes/plugins/js_composer.zip Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/plugins/js_composer/assets/lib/bower/ace-builds/src-min-noconflict/theme-chrome.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
public_html/wp-content/plugins/js_composer/assets/lib/bower/ace-builds/src-min-noconflict/ace.js Atomicorp.PHP.Malware.031717163850.29095.UNOFFICIAL
Sorry may be I wasn’t clear enough. I don’t have a background ad. You can take a look at the site here http://emvolos.gr/ and this is what happened when I updated: https://postimg.org/image/kmhvv1j7d/
Background color turned to white except for header and footer even thought settings for background in theme colors is dark.
Thank you
Now everything is fine!
But only the phone does not display the icon. https://yadi.sk/i/FDq3_JM93GGzDx
I’m using this CSS:
.td-icon-odnoklassniki{
background-size: 22px 24px;
background-position: center;
top: 15px;
background-repeat: no-repeat;
}
.td-header-sp-top-widget .td-icon-odnoklassniki {
background-image: url(“http://portal.ksors-spain.org/wp-content/uploads/2017/03/odnoklassniki_icon-icons.com_50849.png”);
background-size: 15px 15px;
background-position: center;
top: 15px;
background-repeat: no-repeat;
}
.td-footer-wrapper .td-icon-odnoklassniki {
background-image:url(“http://portal.ksors-spain.org/wp-content/uploads/2017/03/odnoklassniki_new-e1490177469315.png”);
}
Hi,
Well you could differentiate them and have one background image for each of them by using the location they are in like this – https://www.screencast.com/t/VtI6JEDc
This is the code used
.td-header-sp-top-widget .td-icon-odnoklassniki {
background-image: url("");
}
.td-footer-wrapper .td-icon-odnoklassniki {
background-image: url("");
}
Thanks
Hi,
The currently available color options for the main menu, sub menu and mega menu are in the Theme panel->Theme colors header section – https://www.screencast.com/t/bw3EzE3sVC and there is no setting to set different colors for each menu item in the header main menu. However you could try to identify each of the menu items you want to modify, using the browser inspector – https://www.screencast.com/t/a1HFWCF9wI and change their color with some custom css – https://www.screencast.com/t/pv86r1FWjmpN
Here is a tutorial about using the browser inspector to create custom code – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ and also the code used in the example (must be edited with you menu item id’s)
.menu-item-6537 > a {
color: yellow!important;
}
For different logo’s on specific pages you could follow this topic – https://forum.tagdiv.com/topic/different-header-images-for-different-pages-and-videos/ and try the suggestion mentioned there. There is no option to have different logo’s by specific pages by default.
Thanks
Hi thanks! (Sorry for my English), the problem is that I did not need to update. I clicked by mistake.
My version was Newspaper 7.5
I clicked on Update from Newspaper 4, but I did not have Newspaper 4. It was a click by accident.
Everything is dislocated, header, sidebar, footer …
Then I loaded a backup 2 days ago. The backup should leave the theme restored, but it stays the same, dislocated.
My question is, what has changed the Newspaper 4 script that does not allow loading the previous backup as it was before?
Thank you
Hi,
The header logo could be controlled with these margins – https://www.screencast.com/t/VqphR0QHNjot and the header ad spot – https://www.screencast.com/t/KBA22IirnV0N You can position them individually. Both of these elements are part of the header container – https://www.screencast.com/t/v20BCVqd6gi maybe this can help you, depending on what you want to achieve.
Thanks
Hi,
After this update, the header logo in style 8, is no more center, is on right.
Hello, I have version 7.5. I by mistake clicked on the button:
*********
Update from Newspaper 4: To update from version 4 please run this update script. Note: please backup your site before updating!
*********
It was a mistake.
The theme has now been dropped.
In the hosting they have loaded a backup of 2 days ago, but it remains the same. You have removed the header, footer, sidebar …
In the hosting have loaded the tables of the database, files … Why not recover its previous appearance?
Thank you
Hi,
There is no theme options to set a different menu by specific page by default, this will have to be achieved through custom modifications or with the use of a plugin with these capabilities. So you could search for this kind of plugins and try a few of them, and see if they will work for you. Here is a topic related to this – https://forum.tagdiv.com/topic/can-a-page-have-its-own-menu-and-headers/
Thank you for understanding!
Thank you so much!
So it looks much better.
And can I use different icons in header and footer for a better result?
Hi,
Thank you for the quick response. I did modify the top-left header logo to be aligned. However, I do not recall making modifications to the top-right header ad spot. Do advice if as I plan on flushing the header logo to be aligned with the grey line below the top menu. Is there a way to customise the vertical for the padding/spacing for the header portion holding both (header logo and header ad spot)?
Ignore this, resolved.
For anyone else, example: edit /parts/header/ads.php
This would make the header ad not appear on posts with the category slug ‘news’.
<?php
if (!in_category(‘news’))
{
?>
<div class=”td-header-rec-wrap”>
<?php
$tds_header_ad_title = td_util::get_option(‘tds_header_title’);
// show the header ad spot
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘header’, ‘spot_title’ => $tds_header_ad_title)); ?>
</div>
<?php
}
?>
Hi there,
Firstly, thank you for the theme.
I would like to apply WordPress if rules on the ads that are called from the Theme Panel. For example I don’t want to header ad to appear on certain categories. I’m familiar with the php for wrapping the ads in an if rule, however as they aren’t hard-coded into the template php files, I can’t work out how to do this.
How is this achieved please?
Thanks,
Max
Hi,
I see that you have managed to modify the default margins set on the header logo, and now it is vertical aligned – https://www.screencast.com/t/bSKSTtaVCO and the same for the header ad spot – https://www.screencast.com/t/KKVm8Y4T
Please correct me if I misunderstand, and you wanted something else.
Thanks
After some further analysis I am getting this bad boy:
“wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_page_generator_mob is not set.
/home/techsa10/public_html/dev/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
wp booster error:
Missing parameter: ‘file’
/home/techsa10/public_html/dev/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php
Fatal error: Uncaught Error: Class ‘td_page_generator_mob’ not found in /home/techsa10/public_html/dev/wp-content/themes/Newspaper/mobile/page-pagebuilder-latest.php:71 Stack trace: #0 /home/techsa10/public_html/dev/wp-includes/template-loader.php(74): include() #1 /home/techsa10/public_html/dev/wp-blog-header.php(19): require_once(‘/home/techsa10/…’) #2 /home/techsa10/public_html/dev/index.php(17): require(‘/home/techsa10/…’) #3 {main} thrown in /home/techsa10/public_html/dev/wp-content/themes/Newspaper/mobile/page-pagebuilder-latest.php on line 71”
Even with this error I cannot really track the issue, really hoping that you can help me out with this.
Best,
Alex
Greetings
I was wondering if I can add extra edition dropdown menu button like http://www.huffingtonpost.in/
to my website please help…
Thanks
I did it!
Only now there are icons, but are not displayed correctly. How can I align the icon image?
Footer https://yadi.sk/i/CSvVhGzf3GEpfR
Header https://yadi.sk/i/FC4kXJRB3GEpjp
Thank you very much for your help!
Hello amitsharma312,
I guess that you want to display the Rev Slider element at the top of your homepage, just below the header, right? So, if you want to do this, you should use the Visual Composer and place the code like this -> https://www.screencast.com/t/s4Qbvpe9D2uD For more references about Rev Slider, please check here -> https://forum.tagdiv.com/how-to-install-revolution-slider-v5/ -> https://forum.tagdiv.com/import-revolution-sliders-on-demos/
Hope this helps!
Thanks for your understanding!