I'm unable to change/resize the logo from Magento admin after installing a custom theme. I was finally able to change the logo by putting the .jpg file in pub/media/logo/, but facing issues in resizing the logo(175px * 45p*). I changed/added logo dimensions in /app/design/frontend///layout/default.xml but even that is not working.

<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/logo.png</argument>
                <argument name="logo_img_width" xsi:type="number">417</argument>
                <argument name="logo_img_height" xsi:type="number">195</argument>

Also I'm not able to disable demo store notice from magento admin.

Any workaround for this?


You can change/resize the logo by using admin panel. Go to

Content->configuration->click on edit button on your theme ->Under header upload the required logo ->Put required width and length in logo attribute width and logo attribute length respectively.

Save the Settings and clean cache!

  • I'm trying this from a long time but not working. – Ganesh Vernekar Aug 22 at 12:05

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.