• Resolved mtseven

    (@mtseven)


    I need your lights on a problem i am experiencing on my child theme.
    After some search, i found that the child must contain a style.css with the following lines:

    /*
    Theme Name: Origami
    Theme URI: https://siteorigin.com/theme/origami
    Description: Origami is a simple, responsive media blogging theme that places strong emphasis on your content. It looks great on mobile devices, even the videos and galleries scale to fit small screens. The options panel is easy to understand with a minimal set of options. Origami includes a powerful drag and drop page builder for creating unlimited page layouts. So you can use Origami as a standard photography blog or a complete business website.
    Tags: one-column, flexible-width, post-formats, custom-menu, theme-options, threaded-comments, translation-ready, photoblogging
    Author: SiteOrigin
    Author URI: https://siteorigin.com/
    Template: origami
    Version: 1.5.16
    License: GPL v2.0
    License URI: license.txt
    */

    giving attention to the Template: origami
    I have activated the the child theme and instead of having the origami theme working as expected, i get this https://alevrasp.gr/
    I tried reinstalling the original theme (which works as expected if activated) but the child theme shows that junk.
    Any suggestion? What’s going wrong?

    I also tried to make the style.css more minimal:

    /*
    Theme Name: Origami
    Author: SiteOrigin
    Template: origami
    */

    and it still displays the same.

    The same also happens if i try using a child in twentytwelve theme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Thread Starter mtseven

    (@mtseven)

    Hi tara and thanks for your answer.
    I can’t really get what’s related with this link.
    I have followed every single step on this article and the child theme is showing up on my themes, the problem is that it seems to have a problem displaying it correctly.
    Have you opened the link to my site so you can see what i am talking about? https://alevrasp.gr/

    Thread Starter mtseven

    (@mtseven)

    Okay to make things easier and understand my problem, i have uploaded 2 photos:

    1.This is how the theme looks like when i activate the original theme and must look like when i activate the child theme:
    https://alevrasp.gr/wp-content/uploads/2014/03/origami-original-theme.jpg

    2.And this is how the child theme looks like when it is activated instead of the original one:
    https://alevrasp.gr/wp-content/uploads/2014/03/origami-child-theme-prob.jpg

    Can you please now tell me what’s going wrong?

    Thanks in advance

    Change the child theme name to something else otherwise you’d have two themes with the same name.

    Did you import the parent stylesheet?

    @import url("../origami/style.css");

    Thread Starter mtseven

    (@mtseven)

    /*
    Theme Name: origami-child
    Author: SiteOrigin
    Template: origami
    */
    @import url("../origami/style.css");

    That’s how it is right now. Although if i don’t include that line: @import url(“../origami/style.css”);
    It’s still visible but with the same problem.

    Note that i have tried using child themes on other themes as well and i get the same problem.

    In your header, the child theme is referencing this:

    https://alevrasp.gr/wp-content/themes/childthemeOR/style.css

    but that doesn’t exist, whereas this does:

    https://alevrasp.gr/wp-content/themes/origami-child/style.css

    If I live browser-edit your site, the child theme is properly styled.

    Thread Starter mtseven

    (@mtseven)

    Okay, it’s magically fixed. what was the problem tho?

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