Newspaper details to create a child style.css

Posted in: Newspaper
Post count: 27

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

Post count: 27

This is not to modify the CSS, just to add some codes to fuction.php, so when you update the theme, they don’t go away.

Thank you

Post count: 22421

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!

Post count: 27

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

Post count: 22421

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!

Post count: 27

Thank you Bogdan. Have a good day.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.