Good morning,
To don’t make any mistake, can you give me the details to put into a child stylesheet?
A you know this is the code, and I have to replace the details with Newspapers one.
/*
Theme Name: Twenty Fifteen Child
Theme URI: http://example.com/twenty-fifteen-child/
Description: Twenty Fifteen Child Theme
Author: John Doe
Author URI: http://example.com
Template: twentyfifteen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-fifteen-child
*/
Thank you
Hello,
If you want to create a child theme, there is one already provided in our main theme archive you download from envato. We recommend using that one as this is already created in there: http://screencast.com/t/MLM1gKUmuKwi
Thank you!
Hello Bogdan:)
So I pasted that file to the New folder Newspaper-child on my Cpanel and I activated the child theme.
Can you give me some advice, so then in the future I don’t bother you with this…
In the Child theme fuction.php … Can I paste with out problems codes, as codes to change something in a plugin?
Then… When the father theme gets updated, What does it happens with Newspaper?
Do you recommend to do changes in the function.php using a Child Theme, or there is any better practise?
Thank you
Manuela
Hello,
The code in the functions.php file will require a bit of coding knowledge as it will not re-write the basic functions.php file. It will require a priority setting. Maybe this will help explain it better: https://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623
Overriding a function is a bit more tricky. You will have to know what you are doing. it will not be a copy and paste a bit of code situation. Customizing a theme;s code requires coding skills and knowledge.
Thank you!