I'm trying to theme a magento website, however I already ran into some problems.

I'm following THIS guide.

However when I refresh my page, Magento can't find my styling or my custom logo and I can't find out why.

here is my Magento_Theme/layout/default.xml file:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="logo">
                <argument name="logo_file" xsi:type="string">images/mt_logo.png</argument>
                <argument name="logo_img_width" xsi:type="number">300</argument> 
                <argument name="logo_img_height" xsi:type="number">300</argument>

this is the error I'm receiving in my console:

GET http://localhost:8888/magento/pub/static/frontend/Nicolas/mytheme/en_US/images/mt-logo.png 404 (Not Found)

My logo is saved in mytheme/web/images

How do I solved this issue?

2 Answers 2


Did you run:

bin/magento setup:static-content:deploy

I've written following detail post about Magento2 theme development. You may follow this as well.



Try it with below command

bin/magento cache:clean

Delete pub/statti/*

bin/magento setup:static-content:deploy

Your Answer

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

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