Site icon Weblizar Blog

Make Child Theme

Howdy..

Today , Everybody want their Themes should be customized according their requirements . Customization can be done either doing HARD-CODING  with in the themes.

But I’d suggest you all to Go with Child Theme.

What is Child Theme : Child Theme is a Modified Version of The Parent Theme without modifying the Parent Theme’s Code.

Why We need this : As I stated above , In child we don’t edit or modify the line of code in parent theme and this help us , when we update our parent theme we do not lose the modification we have done in the child theme.

Okay Then It is time to start the making our own new Child Theme.

Step 1.) Here I’ve named my new Child Theme with Weblizar-Child , Because It is the Child of Theme Weblizar. Here we go, Create a New Folder called “weblizar-child” [ you can chose your own name ] .

Step 2.) Now make a new Stylesheet for the Child Theme, this Stylesheet will import the Whole CSS of the Parent Theme Weblizar 

Step 3.) Open up above created Stylesheet -> style.css, In the header of the stylesheet. Add THEME NAME: , Template: And also Import Parent Stylesheet into Child Themes style.css

 

Step 4.) Add Screenshot with Resolution of 880 x 660 px for your Child Theme. That’s It, Now Go to your WordPress Admin Dashboard. You can See your new Child Theme.

This was a basic Tutorial for how to a Make Child Theme, You can modify your child theme both in code & in styles.

Thanks

For more amazing blog posts, follow our blog page.

 

Exit mobile version