WordPress.org

Ready to get started?Download WordPress

Forums

Sampression Lite
[resolved] How to create child theme of sampression lite? (3 posts)

  1. dharmapoudel
    Member
    Posted 1 year ago #

    I want to create child theme of 'Sampression lite' theme. I'd appreciate your help.
    Thanks.

  2. Sampression
    Member
    Theme Author

    Posted 1 year ago #

    Hey dharmapoudel,

    Here's the link on codex http://codex.wordpress.org/Child_Themes.
    Make sure you have the heading on the header of style.css file on your child theme directory

    /*
    Theme Name:     Sampression Lite Child
    Theme URI:      http://www.sampression.com/
    Description:    Child theme for the Sampression lite theme
    Author:         Sampression
    Author URI:     http://www.sampression.com/sampressionlite
    Template:       sampression-lite
    Version:       1.0
    */

    After that use

    @import url(../sampression-lite/style.css);

    Thanks.

  3. s.capolupo@gmail.com
    Member
    Posted 4 months ago #

    I tried to create a child theme for my blog with no success, until I find your suggestion which needs to be put inside style.css without removing anything. Can I ask you technically why we need to do that? I think it is the first time I do something like that while creating child theme :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic