• Hi.

    When creating a child theme, mo load the stylesheet from the main theme:
    /*
    Theme Name: Accesspress Lite Child
    Theme URI: https://access-keys.com/accesspresslite/
    Description: Accesspress Lite is a HTML5 & CSS3 Responsive WordPress Business theme with clean, minimal yet highly professional design. It is easily customizable as per requirement with all the options avaliable at the dashboard theme option.
    Author: Access Keys Team
    Author URI: https://access-keys.com/
    Template: Accesspress Lite
    Version: 1.7.1
    Tags: blue, white, light, custom-menu, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, custom-background, featured-image-header, sticky-post, theme-options, threaded-comments, featured-images, full-width-template, custom-header, flexible-header, responsive-layout
    Text Domain: Accesspress Lite-child

    */

    @import url(“../\accesspress lite/style.css”);

    /* =Start From Here
    ————————————————————– */

    Thnks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi fexco,

    Change the Template line with: accesspresslite or accesspress-lite
    And the import url should be @import url("../accesspresslite/style.css");

    Let me know if it works!

    Thread Starter Félix Ortega

    (@fexco)

    Does not work:

    /*
     Theme Name: AccesspressLite-Child
     Theme URI: https://access-keys.com/accesspresslite/
     Description: Accesspress Lite is a HTML5 & CSS3 Responsive WordPress Business theme with clean, minimal yet highly professional design. It is easily customizable as per requirement with all the options avaliable at the dashboard theme option.
     Author: Access Keys Team
     Author URI: https://access-keys.com/
     Template: AccesspressLite
     Version: 1.7.1
     Tags: blue, white, light, custom-menu, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, custom-background, featured-image-header, sticky-post, theme-options, threaded-comments, featured-images, full-width-template, custom-header, flexible-header, responsive-layout
     Text Domain:  AccesspressLite-child
    
    */
    
    @import url("../\accesspresslite/style.css");
    
    /* =Start From Here
    -------------------------------------------------------------- */

    Try using Template: accesspress-lite. Folder names are case sensitive.

    You’ve also inadvertently added an extra backslash (\) in your @import line.

    Thread Starter Félix Ortega

    (@fexco)

    Thanks for all.

    The line should contain this path: @import url(“../accesspress-lite/style.css”);

    The name for master theme: accesspress-lite
    The name for child them: accesspresslite-child

    What if anything can serve others, the code is:

    /*
    Theme Name: Accesspress Lite-Child
    Theme URI: https://access-keys.com/accesspresslite/
    Description: Accesspress Lite is a HTML5 & CSS3 Responsive WordPress Business theme with clean, minimal yet highly professional design. It is easily customizable as per requirement with all the options avaliable at the dashboard theme option.
    Author: Access Keys Team
    Author URI: https://access-keys.com/
    Template: accesspress-lite
    Version: 1.7.1
    Tags: blue, white, light, custom-menu, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, custom-background, featured-image-header, sticky-post, theme-options, threaded-comments, featured-images, full-width-template, custom-header, flexible-header, responsive-layout
    Text Domain: AccesspressLite-child

    */

    @import url(“../accesspress-lite/style.css”);

    /* =Start From Here
    ————————————————————– */

    Regards.

    Theme Author Access Keys

    (@access-keys)

    There were two mistakes
    1. the “Template:” should have the name of the parent theme folder
    2. extra front slash on the @import rule

    Seems you figured it out already ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Child theme’ is closed to new replies.