Create a new theme folder (eg. “sampression-child”) under the “Themes” folder. Create a new CSS file in the child theme folder and name it “style.css”. Paste the sample code mentioned below in the style.css file.

/* Theme Name: Sampression Child 
   Description: Child theme for Sampression theme 
   Author: Sampression 
   Template: sampression-lite 
*/ 
@import url("../sampression-lite/style.css"); 

/* 
 Child Theme Styling starts here 
===================================== */

 

Overriding Parent Theme Template Files

To override the template files in the parent theme, open the original template file and save a copy to the child theme folder with same file name and folder structure. The file structure has to match with the parent theme.