Showing results for 
Search instead for 
Did you mean: 

Child Theme Unstyled


Child Theme Unstyled

I'm a little baffled, I have an extremely barebones theme in place, I can modify the logo and successfully compile out less (although I've now removed all less files), but nothing from the parent is being inherited.


Isn't getting parent styles as simple as having a theme file with the parent tag, e.g.


<theme xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
     <title>New theme</title> <!-- your theme's name -->
     <parent>Magento/luma</parent> <!-- the parent theme, in case your theme inherits from an existing theme -->
         <preview_image>media/preview.jpg</preview_image> <!-- the path to your theme's preview image -->

Screen Shot 2017-02-24 at 11.06.23 PM.png

Screen Shot 2017-02-24 at 11.07.11 PM.png

I have flushed the cache, I don't know what else needs to be done to get the theme to render.


Re: Child Theme Unstyled

Thanks in advance for any help <3

Re: Child Theme Unstyled

Ah, I guess I had to redeploy the theme, or run setup:upgrade, or one of the various commands that aren't `cache:flush`.