I installed the traveler latest theme successfully, after that trying install the childtheme but with error.

Question:

Why I cannot install the traveler childtheme? It show error message after install it show “style.css”.
After update loading finish it show this error message:
Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed

How to resolve this troubles?

Answer:

A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.

The Child-name should be inherited from Parent-name. You should not re-name Parent theme when upload Child-theme, The child theme can’t find its parent. That is reason why your style.css is missing.

 

/*
 Theme Name:   Traveler Child
 Theme URI:    http://example.com/traveler-child/
 Description:  Traveler Child Theme
 Author:       Shinetheme
 Author URI:   http://example.com
 Template:     traveler
 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:  traveler-child
*/

 

 

You can read more about Child theme here