Using the Child Theme

Child theme is the recommended and only safe way to modify the theme.

Why do I need it?

You will probably want to modify this theme somehow. The child theme is the recommended and only only safe way to do that. When you have the child theme activated and a new update is available, you can update the parent theme and be sure that you will not lose your modifications.

How to install the child theme?

You don't have to create your own child theme. Our theme is delivered with it. Look inside the package downloaded from ThemeForest (unzip it first of course) and you will find the starmile-child-theme.zip file. Install it in the same way as you did for the main theme (starmile.zip).

Does the child theme slow down my site?

No, the child theme WILL NOT affect your site's speed.

Where should I place my PHP modifications?

All your custom PHP functions, filters and custom codes should be added to the child theme's functions.php file.
You can access it directly from the WP admin panel › Appearances › Editor › Starmile Child Theme.

Where should I place my CSS modifications?

All your custom CSS rules should be added to the child theme's style.css file.
You can access it directly from the WP admin panel › Appearances › Editor › Starmile Child Theme.

Where should I place my JavaScript modifications?

All your custom JavaScript code should be added to the child theme's modifications.js file (run on front-end) or modifications-admin.js file (run on back-end).
You can access it directly from the WP admin panel › Appearances › Editor › Starmile Child Theme.