- TutorialsDefault Block Settings Guide
I am trying to install Visual Composer, but I am getting this error:
Installing Plugin: Visual Composer
The plugin does not have a valid header.
Downloading install package from http://———-/wp-content/themes/Newspaper/includes/plugins/js_composer.zip…
Download failed. Not Found
Return to tagDiv plugins panel
———————
Screenshot: http://prntscr.com/e3qcgw
What can I do
Hello,
I would like to have darker background of block. I changed background color in the Design option of the block. I know how to change header title but how to change post title in the specific block? I want to make on in the specific block case not in whole site. Thanks a lot for answer
Hi,
What if I want the full logo with boxed header?
Thanks
Hello everyone !
I have a funny issue here, very easy to fix probably but i’ve been looking for a solution for about 3 days and did not found yet.
Problem : i don’t know how to remove a small line beside the header. I identified it as a ad block (not adblock :p) : article-bottom-ad. How could i make it disappear please ?
Apologies for my approximative english, working to improve it.
Many thanks for help.
Hi Team,
Would you be able to advise me on the following? On top of my page, I am displaying a Header Image ( 1600×1000)with zooming out effect. The idea is the display the whole image using the zooming out effect.
I have customized the slider’s height to display the original size of the image but images are still being cut off at the bottom.
Any suggestions as what to do with it?
Thank you very much for your help in advance,
Anna
Hello,
Unfortunately there is no setting for this though. It can however be done using a css trick:
.td-header-main-menu{
width: 80%!important;
}
add the code in the theme panel->custom css box
But this will not work if you use a background however as the site will go into boxed mode. Adding a background color or image will make the site go into boxed mode and then the menu trick is no longer possible.
Thank you!
Hello orlando,
If you want that your style.css to remain to the header section you should edit the td-speed-booster.php and comment out this line, like this -> https://www.screencast.com/t/j9B01harJ Try this advice and let us know how it goes!
Thanks for your understanding!
Hi Bogdan, one more thing,
As I asked here, https://forum.tagdiv.com/topic/landing-page-without-top-menu-header-and-any-further-delay/ , These customisation works only after some delay, how can I integrate these codes in main CSS files, so that it can work smoothly without any further delay.
nairolf tried to help me but it didn’t work.
Thank you.
Thanks for this, my dev is indeed working on cleaning all these JS and header stuff as we speak.
Hi,
I love the look of the theme and am looking forward to working with it.
Quick question…
Last night I purchased and installed NewsMag into a clean (new) installation of WordPress 4.7.2. I installed the Classic Blog demo site with all of the accompanying data. I’m now customizing that default to meet my own needs.
I would like to use Header Style 10 with a Text Logo and Tagline. When I navigate to Theme Panel/Header/Logo & Favicon to change the “Text Logo” and “Text Logo Tagline”, the fields are locked and uneditable… I can see the default values, but cannot click into the field to highlight or otherwise access the text.
Your documentation states that these fields are not accessible if there is a image logo loaded, but I do no have an image logo loaded… the image thumbnail fields above show an “X”.
What can I do to edit these fields?
Thanks,
Michael
I basically need to *REMOVE* the theme inserting the link to main style sheet in the header.
Normally one can “de-enqueue” that based on the ID of the stylesheet but I get tripped up often enough trying to figure out the right ID for the actual CSS or js sometimes.
Not using speed booster plugin with the theme as we have our own internal optimization setup, but I think the second link you gave showing ‘td-theme’ as the right ID might be what I was looking for.
So, I’ll try it this way since I guess the ‘css’ was redundant — those IDs always trip me up! 🙂
function dequeue_my_css() {
wp_dequeue_style('td-theme');
wp_deregister_style('td-theme');
}
add_action('wp_enqueue_scripts','dequeue_my_css',100);
Thanks! (and happy new year!)
Hi,
You can align the header ad to the right using this code, just enter it in Theme panel->Custom Css
.td-header-style-1 .td-header-sp-recs img {
left: auto;
}
Result – https://www.screencast.com/t/yC9Usd4rgu
As for the logo position and size, you can see all the header styles here – https://forum.tagdiv.com/header-styles/ and all the recomended logo sizes for each header style here – https://forum.tagdiv.com/logo-favicon/
Thanks
Hi,
I could solve the alignment of the header logo with this custom css-code:
.td-header-style-1 .td-header-sp-logo {
margin-left:0;
}
But the following custome css-code did not work to get the header ad aligned to right.
.td-header-sp-recs {
float:right!important;
}
Your advise would be appreciated.
Hello there;
I use instagram block shortcode for the post, it works on desktop browser without any problem, but on mobile theme it shows shortcode text. Here is the sample code,
[vc_row][vc_column][td_block_instagram instagram_id="someidhere" instagram_header="off"
instagram_images_per_row="2" instagram_number_of_rows="5" tdc_css=""][/vc_column][/vc_row]
Any suggestions?
Hello,
I could not find a solution to align the header-ad to the right side (in the default version)
See here: http://nm1.webaxess.de/
Please help!
Also: The logo should have a bigger size and should be totally aligned left.
How can this be acheaved.
Johannes
Hi,
You can try this code that applies only when the menu is sticky, so the menu item does not overlap the logo in that situation, just enter it in Theme panel->Custom Css
.td-header-style-10
.td-header-menu-wrap.td-affix
.menu-item-928 {
margin-left: 65px;
}
Result – https://www.screencast.com/t/QAgmZQiwho
Thanks
Hello Chris,
If you want that your style.css to remain to the header section you should edit the td-speed-booster.php and comment out this line, like this -> https://www.screencast.com/t/j9B01harJ
As you can see in td_wp_booster_functions.php core file, the theme will enqueue the theme style using this ID ‘td-theme’, like this -> https://www.screencast.com/t/EwnnFyTkoex
Thanks for your understanding!
I understand that, but our theme has no option ot hide ads from particular pages. There is no functionality added to the ad system that can allow that. It can be done by altering the theme files and adding conditions to the code but when adding more pages to the code you will always have to go in and edit the code again. That is why I suggested adrotate or another ad plugin you prefer so you can getan option to remove certain ads without altering the theme code.
If you are comfortable with editing code, then here is an example of how to remove an ad for a specific page:
For the header ad you will have to edit this file: https://www.screencast.com/t/MUURFMNomsy and wrap the code around a condition like so:
https://codex.wordpress.org/Function_Reference/is_404
https://www.screencast.com/t/21r56Y0PDaV
This will remove the header ad on all 404 pages. WordPress provide more functions like is_page where you can use the page id to remove the ad on specific pages.
Use the same method on the footer ad but for this one you will have to edit the footer template for the footer style that you use: https://www.screencast.com/t/usuTGXu6Y
Thank you!
If more id’s are needed, then you will have to multiply the code like so:
.page-id-27 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container, .page-id-28 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container, .page-id-29 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container, .page-id-30 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container{
display:none;
}
Simply copy and paste the whole selector and change the id on each instance
Thanks.
preloading the critical CSS in your ‘header.php’ file is fastest way to load menus.
Hello,
i have copy and past the code js of adsence in ads header as shown on the screenshot :https://www.screencast.com/t/YuCY95UAL copy from my adsence account : https://www.screencast.com/t/CBcJFBNwTQ
i have no ads displayed on my header website
can you help me please
Hello, what if I want to disable header, top menu etc on three four pages with post id- 27, 28, 29 and 30
How to write the code to include all these posts ID in it:
.page-id-27 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container{
display:none;
}
Kindly complete the code.
Thank you.
Hello.
Thanks for your reply.
I have turned on wp_debug.
I am getting the following warning everywhere in both front and backend of the site:
Warning: Invalid argument supplied for foreach() in /var/www/www.varebilogtransport.dk/www/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 2194
I doubt it has anything to do with the problem at hand.
It’s not coming with any errors on the ad page. The console says the following however:
ace.js:1 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
o @ ace.js:1
Again, I doubt it’s the issue here.
The ads are links with imgs tags, i have also tried with some iframes as well as just the word “test”.. nothing works.
I think the issue may be with the fact that it is textarea’s? It seems that all input fields work, but textareas do not.
I have tried to increase max_input_vars to 5000, has not helped either.
I have tested most of the textareas between header ad and custom ad 5, none of them seem to be updating correctly.
I also discovered a seperat issue – when under theme panel->categories and i create a custom sidebar – no widget is created – so we cannot make use of this functionality.
It saves the name under custom sidebar+position, but there is no widget created – so the sidebar just remains blank as you cannot put anything into the widget.
We can create a user for you to access the site if needed. Please give us an e-mail address for this purpose, if necessary, as we do not want to post such data here.
I hope that is all you need to look further into the problem.
hi,
I just want to know how to put the td-theme in the header
example
// $ This-> move_style_to_footer_queue (‘td-theme’); // This is the main style ofof the theme. It’s only moved on Newspaper 6
adding //
Quale’è the plugin line I have to change peer have this, it does not seem that difficult a question.
I hope this time you got me, I want to do.
<?php
if (in_category(array(‘salute’))){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
}
else{
locate_template(‘parts/header/ads.php’, true);
}
?>
Use header-style-7, and with this code works fine.
-
This reply was modified 9 years by
giulian curl.