• Hello, I am still trying to make a child theme work, when I upload it, it takes away all of my current content it is as if the website rests itself to stock images and content

    Here is my code:

    /*
    Theme Name: Zerif Lite Child
    Theme URI: https://www.odysseydesignco.com/zerif-lite/
    Author: XXXXXXXXX
    Author URI: https://odysseydesignco.com
    Description: This is a child theme of Zerif Lite
    Template: Zerif Lite
    Version: 1.8.4.0
    License: GNU General Public License version 3
    License URI: license.txt
    Text Domain: zerif-lite
    Tags: black, gray, red, white, one-column, two-columns, right-sidebar,fixed-layout,light,front-page-post-form,full-width-template,rtl-language-support,sticky-post,theme-options,responsive-layout, custom-background, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, photoblogging
    Text Domain: Zerif Lite-child
    Domain Path: /languages/
    */

    @import url(“../Zerif Lite/style.css”)

    What is wrong why cant I create it?

    I want to make changes to the CSS without changing the core files……Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to change the Template: line: it needs to contain the name of the folder that contains the parent theme, and capitalization matters. It should probably look like this:

    Template: zerif-lite

    You also need to change the @import line, for the same reason:

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

    have the same problem, still trying create child theme for zerif lite, using plugin (no problem with other themes) and it’s always something wrong. Any idea?

    Alexandra

    (@alexandrastan001)

    Hello,

    For creating a child theme we recommend this: https://docs.themeisle.com/article/14-how-to-create-a-child-theme.

    Best regards,
    Alexandra

    HI Alexandra

    I am very very much a novice! I read that I ought to make a child theme so I am trying to do this. I looked at your link.

    It says navigate to wp-content/themes/ directory. I think I have done that – or rather mine say /public_html/wp-content/themes but there is no directory after it.

    Am I in the right place? Also I don’t understand how to create a folder – I went up to file expecting it to say create folder but it doesn’t.

    Can you help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Zerif-Lite Trying To Create Child Theme’ is closed to new replies.