0

I am new to Magento. I just installed Magento 2 on a MAMP local server. Everything works so far i figured out how to create all needed files in order to create my own theme. I activated it inside the backend and now I want to start to code my theme. It inherits the luma theme. After hours of reading tutorials and guides I am completely stuck. Where do I start? Let's say I want to change the background color of the header. I should be able to do this by copying and changing the parent themes content. So I copied everything inside the vendor/magento/theme-frontend-luma folder and put it into my custom theme folder which is app/design/frontend/Mypackage/mytheme Now when I activate my theme in Magento the site loads without any styling. What am I doing wrong? I am getting really frustrated and any help is much appreciated. Thanks!

1

1 Answer 1

0

Choose your Theme:

    Stores -> Configuration -> Design

After Choose your custom theme in back end:

Remove pub/static content

   rm -rf pub/static

then Regenerate the static file:

  bin/magento setup:static-content:deploy 

remove var/* content

  rm -rf var/* 

Then Check it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.