1

I had created custom theme in Magento 2. I had declared the theme logo in the app/design/frontend/Muneeb/mytheme/Magento_Theme/layout/default.xml

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

I have already clean the cache but the logo is not changing. Kindly help me

1

Follow the following steps

1- remove data of var and pub/static use following command

rm -rf *

on the respective folders

2- run the deploy command

php bin/magento setup:static-content:deploy

3- provide appropriate permission to both var and pub/static in case website show error

chmod -R 755 pub/static var

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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