0

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">
    <body>
        <referenceBlock name="logo">
            <arguments>
                <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>
            </arguments>
        </referenceBlock>
    </body>
</page>

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

Any workaround for this?

1 Answer 1

0

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!

1
  • I'm trying this from a long time but not working. Aug 22, 2019 at 12:05

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.