Site logo

Archived topic

Child Theme

5 replies · Started by Marta on January 18, 2021

Viewing posts 1–6 of 6

Hello David,

I downloaded my Child Theme months ago and I am reading about changing the CSS, the PHP and things like these.

Can someone check if I have all set (I cannot remember what steps I took at the time) and don’t have to do anything else? I want to start working on the theme.

Thanks in advance.

Hi there,

A child theme is actually not a requirement.

Do you plan on adding lots of CSS and PHP?

Let me know :)

Hi Leo,

I don't know because I don't really know anything about CSS and PHP. My level is beginner, I just want to easy thing.

But I have read that it is better to have a child theme and do all the work there in case all the information is lost due to an update in the parent child. Am I mistaken? If you tell me the parent GP premium theme is enough, I will deactivate the child one.

Thanks.

But I have read that it is better to have a child theme and do all the work there in case all the information is lost due to an update in the parent child.

That is not true.

I would recommend starting without one first.

If you need to add some CSS later, you can add it to the Additional CSS field in the customizer:
https://docs.generatepress.com/article/adding-css/#additional-css

PHP can be adding using the Code Snippet plugin as well which is our preferred method:
Adding PHP: https://docs.generatepress.com/article/adding-php/

Thank you, Leo. I know basically nothing about this, so maybe I have understood the wrong thing.

I am going to activate the main theme then. One last question: do you recommend me to uninstall the child them or shall I just leave it there in case I need it in the future?

It's up to you.

You can just leave it there and it won't do any harm :)

This archived topic is closed to new replies.