Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

Elementor child theme php-css

$
0
0

Replies: 0

The necessary files in a child theme folder are style.css to specify the theme-name and the template and optionally the function.php

“Creating a functions.php file is optional. It is only needed if you intend to add additional PHP code to your theme.”
“Unless you intend to completely change the style of your theme, it’s recommend that you inherit all of the rules of the parent theme’s style.css file. Inheriting the parent theme’s styles cuts down on development time if you’re only intending to make minor visual changes. Not inheriting the parent theme’s styles will allow you to use the template markup in the parent theme’s templates while rewriting the CSS from the ground-up.”

When is it really necessary to add the function.php files?
Using Elementor page builder to customize the child theme (also using page-template), do I have to inherit the parent’s theme style.css rules through .php?


Viewing all articles
Browse latest Browse all 73026

Trending Articles