• Resolved trader4300

    (@trader4300)


    I have been working for several days trying to get a child theme to function properly. I followed all the proper procedures and created the child style.css file. When I switch themes over to the child and view the source code, I can see that my child theme is being used. However the formatting I made using the parent theme is no longer present. All the changes I made to the colors and menus seem to be back to the default. So it appears my import statement is not working. I will depict all this with screen shots below:
    The name of my website is goodolddayscountryshop.com/WPstore/
    Well, ok, I made all these screenshots but apparently I cant show them in this texteditor. But believe me, the formatting I made in my parent theme is all gone when I use my child theme.
    here is the code of the child theme which is in the storefront-child directory.
    /*
    Theme Name: Storefront Child Theme
    Theme URI: https://www.goodolddayscountryshop/com/WPstore/
    Description: Storefront Child Theme
    Author: John OBrien
    Author URI:
    Template: storefront
    Version: 1.0.0
    */
    @import url(‘../storefront/style.css’);

    /* =Theme customization starts here
    ——————————————————- */

    Please help with this problem. I have been all over the forums and cannot find out why this is not working.
    Thank-you

Viewing 16 replies (of 16 total)
  • yup, always start with a child theme, all the changes you made were probably in the original theme which gets removed by previous function.

    And Chromes inspect function is my favorite tool to see where the css conflicts are created.

    good luck mate

    P.H.

Viewing 16 replies (of 16 total)
  • The topic ‘My Storefront-child theme does not inherit the parent theme’ is closed to new replies.