Magento – Magento 2 custom theme based on parent Luma theme necessary files

luma-thememagento2themetheme-fallback

I created my custom theme based on Magento Luma theme:

  • In /app/design/frontend/MyVendorName/ncs-theme/theme.xml I added <parent>Magento/luma</parent>

But when I look at my frontend I see some differences. For example on the product-view page (see attachment), the structure of <div class="product-info-price"> is different then the Luma theme?
enter image description here

And on the homepage it's also missing styles for the <div class="content-heading"> (see image). Do I have to copy some files into my custom theme?

enter image description here

Best Answer

Use the commmand line tool to regenerate the static files and the cache.

I would also try running your server as an administrator so that it doesn't have any issues with symlinks.

http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli.html

Related Topic