- NewsmagHeader styles
- NewsmagHeader ads
- NewsmagtagDiv Composer Tutorial
- NewsmagCategory templates
- NewsmagSmart list ads
- NewsmagWeather Widget
- NewsmagInstagram widget
- NewsmagPage Menu
- NewsmagMain menu
- NewsmagTop bar templates
- NewsmagLogin – how to enable the user registration
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagTheme colors introduction
For this error, I delete stuff from a couple files:
style.css
menu-header.less
For both, use the find command for “AAA” and delete the long codes you find in both files. You end up with just white; or transparent; as the endline.
Works for me.
Since updating to the version yesterday I’ve been unable to update one of my posts, keep getting the following error:
Warning: Invalid argument supplied for foreach() in /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php on line 330
Warning: Cannot modify header information – headers already sent by (output started at /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php:330) in /home/thakksy/public_html/wp-admin/post.php on line 233
Warning: Cannot modify header information – headers already sent by (output started at /home/thakksy/public_html/wp-content/plugins/js_composer/include/classes/core/class-vc-base.php:330) in /home/thakksy/public_html/wp-includes/pluggable.php on line 1173
Only seem to happen when updating this post: http://www.cruisehive.com/costa-fascinosa-hit-bad-weather-causing-damage/4356 After checking the update does work but doesn’t confirm or anything, just the error page comes up.
Thought it was just a wordpress issue but it seems to be related to js_composer so thought it might be related to the theme.
Thanks a lot!
Hi,
Unfortunately there is no way at this moment, we have this on our to-do list and we will enable the mobile logo to show with other two style as well, until then you can use the style you have now.
You can use this custom css in theme panel > custom css to get the logo show good as it is now: http://screencast.com/t/3ZBxIJ8J6
@media (max-width: 767px){
.header-style-3 .td-logo img {
right: 0px;
top: 3px;
width: 767px;
height: 48px;
}
}
Thanks
Not part of the theme; this is a wordpress and page request issue; so you likely need to Google that, as in this discussion on the WordPress site:
https://wordpress.org/support/topic/redirecting-404-errors-to-410
Probably you can clone the 404 template to be 410, but that has nothing to do with what headers are sent back to Google, etc.; that is done outside of the theme, and likely must be done via rewrite rules, or custom code to specify an error page and serve 410 response vs 404.
Might be a plugin for this, or you’d have to put in some custom code in the htaccess file to specify where to send folks asking for DOA page to 410 error message and send back 410 response vs 404 response.
-
This reply was modified 11 years by
simchris.
This is a very handy plugin for that sort of thing: https://wordpress.org/plugins/q2w3-inc-manager/ And there may be others like it that are more current, but this one was recommended by our ad providers.
Hi,
Use this: http://screencast.com/t/jbcANv0v
@media (max-width: 767px){
.post header h1 {
margin-top: 17px !important;
}
}
..and this for the tablet screen: http://screencast.com/t/FjaoP01AZiq
@media (min-width: 768px) and (max-width: 1024px) {
.td-header-bg .header-logo-wrap {
width: 295px !important;
}
}
Thanks
Hi,
I tooth that you refer to an ad, either way you would have to edit those files and add your script there. I would not know to tell you how it would behave, you should try to get someone who knows how to do it if you don’t or you should ask your ad managers how you should add it, the files remain the same.
Thanks
Thank you! It helped with header and logo for mobiles, but breadcrumbs are overlayed by H1 http://files.webfile.ru/be6dd5853638a815519fdacc6b7918d3
And it’s a weird stuff with Safari in Ipad. At the first moment everithing is ok, but then it’s like the page loads in second time in a row and as a result logo moves to the right and space under header appears http://files.webfile.ru/9cf8169b95254f87c4b11830baab3d5d
Thank you but I would like to make sure I have made myself clear.
Actually Taboola gave me 4 codes :
One script that I have to put in the header (but which IS NOT displaying an ad)
One script that I have to put in the footer (which is also not supposed to display an add)
And two others scripts that are actually displaying adds :
– one as a bottom article add ( I was planning to paste the code in the bottom add section in the theme panel options )
– one as a side bar add ( I was planning to apste the code in the sidebar add section in the theme panel options )
Is your answer still relevant ?
Thank You
Hi,
You would have to edit the header.php and footer.php files and this line:
echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); like this in the header.php file: http://screencast.com/t/ex4p1w901Vd
…and this line: <?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]'); ?> like this in the footer.php file: http://screencast.com/t/Cjnh63IqAo (move it above the </body> if you need it inside the body)
Result: http://screencast.com/t/3g1alP6tF
Thanks
Thanks.
But if i change the header style, i won’t keep the logo, and the menu below. How to keep it ?
Hi,
Better to use header style 1 and use the custom css like this:
.td-logo-rec-wrap, .td-affix .td-logo-rec-wrap, .td-full-logo {
background: url('https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcS1snmw3W4bY_-Lpbd_am2QprWg5D5H10CR0IQOZa9AsHV6z3h1iw') !important;
}
You would have to make other much complicated changes to use header style 3 and change the logo position.
Use the css from above in the custom css filed in theme panel and let me know if it’s working, should change the background for all header styles. Remove the previous one.
Thanks
Hi,
The reason for this is the header style you are using, please make sure that you are using other header style than 3 or 6 with those styles the logo dose not changes.
Thanks
Hi,
Use this css:
@media (max-width: 767px){
.header-logo-wrap, .header-logo-wrap img {
display: inline !important ;
}
.td-header-bg .header-logo-wrap {
width: 295px !important;
}
.entry-crumbs {
display: block;
}
}
Result on Safari: http://screencast.com/t/dUJHsC9R
Result on Opera: http://screencast.com/t/ayHXIay1
Also check the js errors from console.
Thanks
Hi,
You will have to add a css class to the sidebar for this which you will use to add a border between content and the sidebar like this: http://screencast.com/t/Odbfr3tX
This is the css you can use if you are using a widgetised sidebar:
.page .td-page-wrap .span4 .wpb_widgetised_column {
border-left: 2px solid #4db2ec;
padding-left: 50px;
}
For the post pages you have this class which you can use to add the border: http://screencast.com/t/Gx4TpbQsU
.td-post-sidebar {
border-left: 2px solid #4db2ec;
padding-left: 50px;
}
Use the method from the topic I have pointed you below to add classes to the sidebars used for other templates and add the border using those classes.
I have posted here how you can add a custom class to the sidebar: https://forum.tagdiv.com/topic/control-of-widget-headerslines-on-sidebar/#post-19605
Thanks
Hello,
I have one question, I am about to add some custom ads in my website and my add manager (Taboola) is asking me to add one script in the <head> section and one script at the end of my <body> tag, (I assume it is after… )
How can I do this ?
Thanks in advance and thanks again for the amazing theme ! 🙂
Hello Lucian.
I can use Header 3 for this code for background image.
How to move logo from center to the left like in Header 1 by CSS?
Hello Lucian,
I pasted code in custom CSS and is not working.
This code is working fine with Header 3 and not working with Header 1 which I’m using.
.td-boxed-layout .td-logo-rec-wrap, .td-boxed-layout .td-affix .td-logo-rec-wrap, .td-full-logo {
background: url(‘https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcS1snmw3W4bY_-Lpbd_am2QprWg5D5H10CR0IQOZa9AsHV6z3h1iw’) !important;
}
Hello,
I have a problem, with the Header style 3, the logo i putted for mobile doesn’t switch :
HomePage : http://www.beirutreport.com
Mobile overview of the home : http://postimg.org/image/xut462dof/
Configuration : http://i62.tinypic.com/2mob09d.png
Thanks for your help.
Added this code, but in Safari appeared a little space under header and logo moved to the right a little bit http://files.webfile.ru/789420230550c5890547ebc3be902376
And there is still no breadcrumbs
In Opera Mini there is no header and breadcrumbs too http://files.webfile.ru/6da9735e7ef50e5faa41bf8ddf793d3c
Hi,
Use this css: http://screencast.com/t/lfFeU6e2gjqM
@media (max-width: 767px){
.header-logo-wrap, .header-logo-wrap img {
display: inline !important ;
}
}
Thanks
Hi,
Please use this css and add it in theme panel > custom css:
@media (max-width: 767px){
.single_template_4 .td-image-gradient:before {
bottom: 0px;
}
.td-big-slide-background, body.single_template_4 #td-full-screen-header-image, .backstretch {
height: 500px !important;
}
}
Should solve your issue: http://screencast.com/t/73be90lxvS
Thanks
Hi Lucian,
Thank you for your reply.
I changed the header style and it’s exactly how I want it, thanks!
For the parallax problem, it looks like it’s the Tekanewa visual composer extension that is breaking the parallax. http://tekanewascripts.info/composer/ which I’m using on these pages.
As soon as I put one component of this extension on a page with parallax, it breaks.
Not sure if this is anything you can help with?
Thanks!
Yep. Header Style 8 literally changed the look of my website and it looks awesome. Although there was some bugs 😉