Modify the default admin logo in Magento 2 (login portal and backend menu)












4















I would like to change both the logo in the login admin portal and the Magento icon at the top left of the admin menu.



What is the easiest way to do that, according images I want to upload are PNG files (I am not familiar with SVG format)
Thanks for your help.










share|improve this question























  • To modify the default admin logo with custom theme, check here.

    – Pratik Oza
    Dec 17 '17 at 6:44
















4















I would like to change both the logo in the login admin portal and the Magento icon at the top left of the admin menu.



What is the easiest way to do that, according images I want to upload are PNG files (I am not familiar with SVG format)
Thanks for your help.










share|improve this question























  • To modify the default admin logo with custom theme, check here.

    – Pratik Oza
    Dec 17 '17 at 6:44














4












4








4


3






I would like to change both the logo in the login admin portal and the Magento icon at the top left of the admin menu.



What is the easiest way to do that, according images I want to upload are PNG files (I am not familiar with SVG format)
Thanks for your help.










share|improve this question














I would like to change both the logo in the login admin portal and the Magento icon at the top left of the admin menu.



What is the easiest way to do that, according images I want to upload are PNG files (I am not familiar with SVG format)
Thanks for your help.







magento2 adminhtml backend






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 13 '16 at 1:36









JukemaxJukemax

4916




4916













  • To modify the default admin logo with custom theme, check here.

    – Pratik Oza
    Dec 17 '17 at 6:44



















  • To modify the default admin logo with custom theme, check here.

    – Pratik Oza
    Dec 17 '17 at 6:44

















To modify the default admin logo with custom theme, check here.

– Pratik Oza
Dec 17 '17 at 6:44





To modify the default admin logo with custom theme, check here.

– Pratik Oza
Dec 17 '17 at 6:44










3 Answers
3






active

oldest

votes


















6














In order to change top left logo of the admin menu you have to create in your custom module view/adminhtml/layout/default.xml file:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="header">
<block class="MagentoBackendBlockPageHeader" name="logo" before="-">
<arguments>
<argument name="show_part" xsi:type="string">logo</argument>
<argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
<argument name="logo_image_src" xsi:type="string">images/custom-admin-icon.svg</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>


Place custom-admin-icon.svg with height 25px and width 41px into CustomModule/view/web/images/custom-admin-icon.svg



For the Admin Login page create new view/adminhtml/layout/admin_login.xml file:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="logo">
<arguments>
<argument name="logo_image_src" xsi:type="string">images/custom-admin-logo.svg</argument>
</arguments>
</referenceBlock>
</body>




Feel free to use PNG files instead of SVG.






share|improve this answer


























  • I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

    – Jonathan Eltgroth
    Jun 27 '16 at 15:38











  • Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

    – Max Pronko
    Jun 27 '16 at 18:10











  • I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

    – Jonathan Eltgroth
    Jun 28 '16 at 13:43













  • @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

    – Slimshadddyyy
    Jan 3 '18 at 8:36



















3














There are 2 small changes in 'Max Pronko' module:



1) Add Namespace_Modulename before image path



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="logo">
<arguments>
<argument name="logo_image_src" xsi:type="string">Namespace_Modulename/images/custom-admin-logo.svg</argument>
</arguments>
</referenceBlock>
</body>


2) And change directory: CustomModule/view/web/images/custom-admin-icon.svg



to



CustomModule/view/adminhtml/web/images/custom-admin-icon.svg





share|improve this answer


























  • Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

    – Vinaya Maheshwari
    Jul 4 '17 at 9:57



















0














We have implemented a solution which does exactly the same. It allows you to replace the logo on the admin login page as well as on top of the admin navigation without creating a new theme. Beside that you can put a text ( e.g Implemented by Your Company ) below the Sign In button. Check out https://shop.magenizr.com/?module=1007



We simply use a helper method in order to replace the src of the logo.



<argument name="logo_image_src" xsi:type="helper" helper="VendorModuleHelperData::getAdminLogoSrc">


The above argument must be placed in VendorModuleviewadminhtmllayoutadmin_login.xml






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f96945%2fmodify-the-default-admin-logo-in-magento-2-login-portal-and-backend-menu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    In order to change top left logo of the admin menu you have to create in your custom module view/adminhtml/layout/default.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="header">
    <block class="MagentoBackendBlockPageHeader" name="logo" before="-">
    <arguments>
    <argument name="show_part" xsi:type="string">logo</argument>
    <argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-icon.svg</argument>
    </arguments>
    </block>
    </referenceContainer>
    </body>
    </page>


    Place custom-admin-icon.svg with height 25px and width 41px into CustomModule/view/web/images/custom-admin-icon.svg



    For the Admin Login page create new view/adminhtml/layout/admin_login.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>




    Feel free to use PNG files instead of SVG.






    share|improve this answer


























    • I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

      – Jonathan Eltgroth
      Jun 27 '16 at 15:38











    • Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

      – Max Pronko
      Jun 27 '16 at 18:10











    • I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

      – Jonathan Eltgroth
      Jun 28 '16 at 13:43













    • @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

      – Slimshadddyyy
      Jan 3 '18 at 8:36
















    6














    In order to change top left logo of the admin menu you have to create in your custom module view/adminhtml/layout/default.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="header">
    <block class="MagentoBackendBlockPageHeader" name="logo" before="-">
    <arguments>
    <argument name="show_part" xsi:type="string">logo</argument>
    <argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-icon.svg</argument>
    </arguments>
    </block>
    </referenceContainer>
    </body>
    </page>


    Place custom-admin-icon.svg with height 25px and width 41px into CustomModule/view/web/images/custom-admin-icon.svg



    For the Admin Login page create new view/adminhtml/layout/admin_login.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>




    Feel free to use PNG files instead of SVG.






    share|improve this answer


























    • I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

      – Jonathan Eltgroth
      Jun 27 '16 at 15:38











    • Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

      – Max Pronko
      Jun 27 '16 at 18:10











    • I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

      – Jonathan Eltgroth
      Jun 28 '16 at 13:43













    • @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

      – Slimshadddyyy
      Jan 3 '18 at 8:36














    6












    6








    6







    In order to change top left logo of the admin menu you have to create in your custom module view/adminhtml/layout/default.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="header">
    <block class="MagentoBackendBlockPageHeader" name="logo" before="-">
    <arguments>
    <argument name="show_part" xsi:type="string">logo</argument>
    <argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-icon.svg</argument>
    </arguments>
    </block>
    </referenceContainer>
    </body>
    </page>


    Place custom-admin-icon.svg with height 25px and width 41px into CustomModule/view/web/images/custom-admin-icon.svg



    For the Admin Login page create new view/adminhtml/layout/admin_login.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>




    Feel free to use PNG files instead of SVG.






    share|improve this answer















    In order to change top left logo of the admin menu you have to create in your custom module view/adminhtml/layout/default.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="header">
    <block class="MagentoBackendBlockPageHeader" name="logo" before="-">
    <arguments>
    <argument name="show_part" xsi:type="string">logo</argument>
    <argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-icon.svg</argument>
    </arguments>
    </block>
    </referenceContainer>
    </body>
    </page>


    Place custom-admin-icon.svg with height 25px and width 41px into CustomModule/view/web/images/custom-admin-icon.svg



    For the Admin Login page create new view/adminhtml/layout/admin_login.xml file:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>




    Feel free to use PNG files instead of SVG.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 28 '18 at 13:18









    PЯINCƏ

    7,78131137




    7,78131137










    answered Jan 15 '16 at 22:19









    Max PronkoMax Pronko

    1,456817




    1,456817













    • I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

      – Jonathan Eltgroth
      Jun 27 '16 at 15:38











    • Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

      – Max Pronko
      Jun 27 '16 at 18:10











    • I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

      – Jonathan Eltgroth
      Jun 28 '16 at 13:43













    • @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

      – Slimshadddyyy
      Jan 3 '18 at 8:36



















    • I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

      – Jonathan Eltgroth
      Jun 27 '16 at 15:38











    • Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

      – Max Pronko
      Jun 27 '16 at 18:10











    • I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

      – Jonathan Eltgroth
      Jun 28 '16 at 13:43













    • @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

      – Slimshadddyyy
      Jan 3 '18 at 8:36

















    I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

    – Jonathan Eltgroth
    Jun 27 '16 at 15:38





    I placed my custom Icon in my custom module at the location you specified, but after uploading and clearing all caches, generation and pub/static, I only get the error image not found in pub/static/adminhtml/Magento/backend/en_US/images, so the generator is not placing the image where magento expects it to be. I've followed your instructions exactly, could there be something missing?

    – Jonathan Eltgroth
    Jun 27 '16 at 15:38













    Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

    – Max Pronko
    Jun 27 '16 at 18:10





    Can you please provide full path of the image and full path of the layout file? Also, do you run in developer mode? Thanks

    – Max Pronko
    Jun 27 '16 at 18:10













    I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

    – Jonathan Eltgroth
    Jun 28 '16 at 13:43







    I have the image in the custom module at app/code/Metal/Backend/view/web/images/logo_288x16.png and the layout file is at app/code/Metal/Backend/view/adminhtml/layout/admin_login.xml. The file matches the block of code above except for the filepath in the argument, which is images/logo_288x16.png. This results is Magento correctly looking for my image, but it seems that magento expects it to be in the backend theme directory, not the custom modules, hence my confusion.

    – Jonathan Eltgroth
    Jun 28 '16 at 13:43















    @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

    – Slimshadddyyy
    Jan 3 '18 at 8:36





    @MaxPronko can not we do it using custom theme or is it necessary to create custom module ? - magento.stackexchange.com/questions/207833/…

    – Slimshadddyyy
    Jan 3 '18 at 8:36













    3














    There are 2 small changes in 'Max Pronko' module:



    1) Add Namespace_Modulename before image path



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">Namespace_Modulename/images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>


    2) And change directory: CustomModule/view/web/images/custom-admin-icon.svg



    to



    CustomModule/view/adminhtml/web/images/custom-admin-icon.svg





    share|improve this answer


























    • Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

      – Vinaya Maheshwari
      Jul 4 '17 at 9:57
















    3














    There are 2 small changes in 'Max Pronko' module:



    1) Add Namespace_Modulename before image path



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">Namespace_Modulename/images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>


    2) And change directory: CustomModule/view/web/images/custom-admin-icon.svg



    to



    CustomModule/view/adminhtml/web/images/custom-admin-icon.svg





    share|improve this answer


























    • Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

      – Vinaya Maheshwari
      Jul 4 '17 at 9:57














    3












    3








    3







    There are 2 small changes in 'Max Pronko' module:



    1) Add Namespace_Modulename before image path



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">Namespace_Modulename/images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>


    2) And change directory: CustomModule/view/web/images/custom-admin-icon.svg



    to



    CustomModule/view/adminhtml/web/images/custom-admin-icon.svg





    share|improve this answer















    There are 2 small changes in 'Max Pronko' module:



    1) Add Namespace_Modulename before image path



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_image_src" xsi:type="string">Namespace_Modulename/images/custom-admin-logo.svg</argument>
    </arguments>
    </referenceBlock>
    </body>


    2) And change directory: CustomModule/view/web/images/custom-admin-icon.svg



    to



    CustomModule/view/adminhtml/web/images/custom-admin-icon.svg






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 21 '17 at 11:05









    Community

    1




    1










    answered Aug 4 '16 at 11:39









    Gopal KachaGopal Kacha

    171111




    171111













    • Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

      – Vinaya Maheshwari
      Jul 4 '17 at 9:57



















    • Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

      – Vinaya Maheshwari
      Jul 4 '17 at 9:57

















    Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

    – Vinaya Maheshwari
    Jul 4 '17 at 9:57





    Hello @Gmb, I have created both files in my custom module and also update your changes and clean cache also but still showing magento logo.

    – Vinaya Maheshwari
    Jul 4 '17 at 9:57











    0














    We have implemented a solution which does exactly the same. It allows you to replace the logo on the admin login page as well as on top of the admin navigation without creating a new theme. Beside that you can put a text ( e.g Implemented by Your Company ) below the Sign In button. Check out https://shop.magenizr.com/?module=1007



    We simply use a helper method in order to replace the src of the logo.



    <argument name="logo_image_src" xsi:type="helper" helper="VendorModuleHelperData::getAdminLogoSrc">


    The above argument must be placed in VendorModuleviewadminhtmllayoutadmin_login.xml






    share|improve this answer




























      0














      We have implemented a solution which does exactly the same. It allows you to replace the logo on the admin login page as well as on top of the admin navigation without creating a new theme. Beside that you can put a text ( e.g Implemented by Your Company ) below the Sign In button. Check out https://shop.magenizr.com/?module=1007



      We simply use a helper method in order to replace the src of the logo.



      <argument name="logo_image_src" xsi:type="helper" helper="VendorModuleHelperData::getAdminLogoSrc">


      The above argument must be placed in VendorModuleviewadminhtmllayoutadmin_login.xml






      share|improve this answer


























        0












        0








        0







        We have implemented a solution which does exactly the same. It allows you to replace the logo on the admin login page as well as on top of the admin navigation without creating a new theme. Beside that you can put a text ( e.g Implemented by Your Company ) below the Sign In button. Check out https://shop.magenizr.com/?module=1007



        We simply use a helper method in order to replace the src of the logo.



        <argument name="logo_image_src" xsi:type="helper" helper="VendorModuleHelperData::getAdminLogoSrc">


        The above argument must be placed in VendorModuleviewadminhtmllayoutadmin_login.xml






        share|improve this answer













        We have implemented a solution which does exactly the same. It allows you to replace the logo on the admin login page as well as on top of the admin navigation without creating a new theme. Beside that you can put a text ( e.g Implemented by Your Company ) below the Sign In button. Check out https://shop.magenizr.com/?module=1007



        We simply use a helper method in order to replace the src of the logo.



        <argument name="logo_image_src" xsi:type="helper" helper="VendorModuleHelperData::getAdminLogoSrc">


        The above argument must be placed in VendorModuleviewadminhtmllayoutadmin_login.xml







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 21 mins ago









        MagenizrMagenizr

        112




        112






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f96945%2fmodify-the-default-admin-logo-in-magento-2-login-portal-and-backend-menu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Magento 2 controller redirect on button click in phtml file

            Polycentropodidae