- NewsmagChild theme support
- NewsmagWhat’s included in Newsmag theme package
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
Hi,
i activated the like and tweet button int the panel – TOP ARTICLE LIKE/TWEET and BOTTOM ARTICLE LIKE/TWEET
How can i remove the tweet button on the right side of the FB like Button – if possible update save – im using a child theme. Any idea? If it is not possible to overrite the file – please tell me in wich files i can remove the button?
thx
And hence why there is coke and pepsi … 🙂
If you run a website for 10 years or longer at some point you find that with major updates the child themes need to be updated too and defeats the purpose. But whatever works for you is what works best for you. I manage 20 sites, some online for 16 years and updated daily, so I do things a little more “time management” focused in the long term. I also don’t update my themes every time there is update as I often don’t need the new bells/whistles requested by others. So, I’m usually many versions behind, and like it that way !
Hello there, I’d like to know if there is a limit for items in the menu. I’m trying to config a menu with 19 parent items and more than 80 child items. I’m stuck at 74 items….
At the beginning I thought it was becuase of a plugin, but if I change the theme and choose the default theme for wordpress I can introduce as many items as I want.
So, is there a limit o the items I want to introduce for a menu?
Contact me and I will send u the credentials to access my web, as it is restricted now….
Ah, it’s supertime-sensitive, please, help me with this.
Thanks in advance.
For this theme I have tried it.But I am currently at 7 modifications. Every time there is a theme update I regret it. You always have to re-apply custom changes and keep a very detailed list of how and why to do it. With a child-theme you can just save a copy of the modified php file and feel free to update the theme at any time. So I actually hate not working with Child themes.
Hi Team,
We are having issues with the footer. see this http://screencast.com/t/yt8MoH0C
It looks good in home page but on every posts, the footer background is not full width.
I already tried deactivating plugins, install and uninstall the child theme but still not working.
The site is Travel 2 Next Its in development stage yet and we are about to go live Friday.
Hopefully you can help us resolve this.
Thanks!
Hi,
Unfortunately you cannot add the woocommerce files in the child theme. They cannot be edited this way at the moment.
Thank you!
Hello,
This is because of the css getting rewritten. I suspect you use a child theme or you have some code in your custom css box that affects the theme color. Css works in cascades and it will load every phase of the code before coming to it’s final form. If the code gets rewritten sometimes you can see this cascade loading as you do on your website. Speedbooster also does this as it moves css render blocks to the footer so the modifications you make will be loaded after the style.css. The solution for this is to make the change directly in style.css in the main theme and change the accent color there. This way, that will be the first color to load.
(not a bug, but circumstance)
I hope this helps.
Thank you!
Hello,
It appears that your child theme is not created correctly or you have customization in it that break the layout of the theme. Please try to recreate the child theme and use the one that comes with the theme: http://screencast.com/t/kzEeYVKZ6LR
I’m not sure what a child theme configurator is but I assume this is the cause of the problem. It’s never a good idea to rely on plugins for something that can be done via ftp. Please follow this guide to properly set up your child theme: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
I don’t use child themes; don’t believe in them unless absolutely necessary as they are a CSS redirect, which I don’t like. Different from an “includes.” So, ideally if using child theme you would add it to the child functions.php if there is one — but I can’t speak as to it working or not working with child theme. Part of optimization process is NOT using child theme, was my point 🙂
Sooooo….. one of the items might conflict with child theme. I put mine in main functions.php at bottom.
Splendid, that worked!
Now, one last question for you, @andrei_luca, regarding the darn navbar…
I’m noticing now that there’s a lot of extra space at the bottom of the mega menu than there used to be before I added all of this code. Initially I assumed it was because those elements that you helped me fix were vertically stretched out, but now that they’re the way they should be again, the mega menu still seems to be vertically stretched out. Do you know how I can get it back down to the size it should be?
Here‘s a link to my site again if you want to look and see what I’m talking about.
The following is all the code that’s currently in “Custom CSS” in the Theme Panel:
.sf-menu > .current-menu-item > a:hover, .sf-menu > .sfHover > a:hover, .sf-menu > .td-menu-item > a:hover {
border-bottom: 4px solid #0b9bc6!important;
}
li.menu-item a {
height: 50px;
}
.td_mega_menu_sub_cats .block-mega-child-cats a, .td_block_mega_menu .td-post-category{
height: inherit;
}
Chris do we paste the code into child theme function.php?
I tried adding it to main function.php file but broke my site lol
not sure which of the functions is causing this, haven’t test yet.
Can we child theme woocommerce files? I have more changes I need to make to other files.
Hi Catalin!
We have the paid 6.6.4 version of the theme.
Our WPperson created a child theme using child theme configurator.
original looks like this :
child theme version looks like this:
What is happening?
Have a nice day! 🙂
Best regards,
Atle
Hello Chucho,
In principle should not be the problem with your code. I have tested on my side in child theme function.php and the new fonts will be overwritten by the child theme properly.
Thank you for for your solution because it might be more useful for many users.
Thank you for the message!
Hi Nicolai,
1. You can use this css to align the footer logo:
.footer-logo-wrap{
text-align:center!important;
}
result: http://screencast.com/t/De1HE5x2ui
2. Unfortunately the mega-menu does not work with sub-menus. It will grab every sub-category of the main one (including level 2 sub-categories). This is the way it was created. Unfortunately there are no option is this matter. There is a way to do it, but it involves editing the theme files. you can edit this file like so:
http://screencast.com/t/6tWO1mO5ecko
Now it will only show the parent category and no child categories.
before: http://screencast.com/t/RmM1wzCxO2 after: http://screencast.com/t/0NQt6ysm4C
I hope this helps.
Thank you!
Thanks for the quick reply Catalin.
How about overriding the function (from functions.php in the child theme) using higher priority?
I tried the following code (screenshot) and it’s working well, not loading any of the default files, but I’m unsure if it could be good as a long-term solution.
function override_fonts() {
td_global::$default_google_fonts_list = array (
'653' => array(
'css_style_id' => 'google_font_work_sans',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Work+Sans:400,700'
),
'654' => array(
'css_style_id' => 'google_font_bitter',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Bitter:400,700'
),
);
}
add_action( 'init', 'override_fonts', 20 );
↑ Replace default fonts (Open Sans and Roboto) with custom ones (Works Sans and Bitter, also from Google)
Hi. I would like to have a centered logo (Style 7 Full Header logo) with two ads manchettes (the same manchette) on the left and on the right of the logo.
How to do it in the child theme?
Thanks
Hi
These files are not editable in child theme so the changes can be applied only in main theme. For more details about child theme support with our theme please check our documentation: https://forum.tagdiv.com/newsmag-child-theme-support/
Thanks!
Hello,
Unfortunately this type of modification is made in wp-booster and this folder cannot be modified in the child theme. Sorry. It will only work from the main theme.
Thank you!
Hi
The style.css file is not included on the list with allowed files which can be modified in child theme because it’s included by default in child theme. Any child theme contains in its basic structure a style.css and functions.php file.
Regarding the code from child theme there is an important aspects that must be considered:
– if in previous theme’s version a specific code added in child theme worked fine that doesn’t mean that will work with a new theme version. When theme update many of its files are changed and it’s a good practice to check update_log.txt file for each update and see what files had been modified so if those specific files are used in the child theme you will have to check your customizations to not break the functionality of the theme.
In your case if the css code does not apply from child theme means that even the selector has been changed or there is a more powerful code in main theme style which override the css from child theme.
The css code it’s very tricky and always the most precis or most powerful selector apply the style for a specific element.
Thanks!
Hi
Are you referring at this widget: http://screencast.com/t/xzHr2v3v – http://screencast.com/t/XogiSKD9b If this is the case you can customize its layout using some custom css code in theme panel > custom code > custom css and the result will be like here: http://screencast.com/t/E5D18xWenTPa
.widget_categories.widget ul li{
display: inline-block;
margin-left: 10px;
}
.widget_categories.widget ul li:first-child{
margin-left: 0px;
}
Please note that this is just an example for the Categories widget. In this case the widget html structure allow this customization but in others cases the required customization could be more complexes, depending by widget’s layout.
If this is not what you mean please provide more details and also your site url so I can inspect this closer.
Thanks!
Can I somehow keep the edited file in the child theme folder so I don’t have to make the same edit each time the theme gets updated?
Should this work in the child theme? I tried there, but only a direct edit on the original theme files seems to work. If it should work as child theme files, I’ll try again.
Hello,
You can remove roboto from td-config by commenting out or deleting this code: http://screencast.com/t/TOUVcBSCp6NQ but this file cannot be modified in the child theme. You will have to edit it in the main theme files.
Thank you!
Hi,
I’d just make some modifications to file Newsmag CSS file style.css and, in the past, I’ve already made these modifications in a Newsmag child theme. But after the last updates it seems no more supported because, for example, the simply copy of the original file in the Newsmag-child theme root directory causes malfunctioning to the site (i.e. icons in the top header menus and icons all over the siste are no more correctly displayed and only their placeholders are visualized. Moreover, from your documentation page, in the Child theme support section, I see that the file style.css is not in the list of files that can be overwritten by a child theme: is it correct? Should I really redo by hand all my code customizations to Newsmag/style.css file at every Newsmag update (and it happens quite often)?
Thanks in advance for any appreciated help.
Giuseppe