How to Override my admin phtml and css file in my themeHow to enable custom admin theme in Magento 2Magento 2: How to override adminhtml CSS?Magento2 - Override theme phtmlHow to update/customize/override Magento 2 css styleshow to automatic update file `.less` in custom theme magento2?Overriding core phtml template using theme based inheritence Magento2How to “override” default Magento2 “Luma” Theme with a Custom ThemeHow to override newsletter phtml file in magento2Not able to override phtml fileMagento 2 How to generate dynamic CSS?Override Admin theme template fileMagento2: Override default phtml file without create custom theme?

How to split IPA spelling into syllables

Error in master's thesis, I do not know what to do

Magnifying glass in hyperbolic space

If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?

How do you justify more code being written by following clean code practices?

How to test the sharpness of a knife?

Would a primitive species be able to learn English from reading books alone?

Output visual diagram of picture

How do I lift the insulation blower into the attic?

Has the laser at Magurele, Romania reached the tenth of the Sun power?

Are hand made posters acceptable in Academia?

Put the phone down / Put down the phone

A seasonal riddle

How do you say "Trust your struggle." in French?

Is this saw blade faulty?

In the event of Brexit being postponed beyond the EU elections, will UK voters in EU countries be eligible to participate?

Relations between homogeneous polynomials

What is the meaning of "You've never met a graph you didn't like?"

Do I have to take mana from my deck or hand when tapping this card?

Why didn't Voldemort know what Grindelwald looked like?

1 John in Luther’s Bibel

Why do Radio Buttons not fill the entire outer circle?

Reasons for having MCU pin-states default to pull-up/down out of reset

I keep switching characters, how do I stop?



How to Override my admin phtml and css file in my theme


How to enable custom admin theme in Magento 2Magento 2: How to override adminhtml CSS?Magento2 - Override theme phtmlHow to update/customize/override Magento 2 css styleshow to automatic update file `.less` in custom theme magento2?Overriding core phtml template using theme based inheritence Magento2How to “override” default Magento2 “Luma” Theme with a Custom ThemeHow to override newsletter phtml file in magento2Not able to override phtml fileMagento 2 How to generate dynamic CSS?Override Admin theme template fileMagento2: Override default phtml file without create custom theme?













1















How to Override my Admin PHTML, XML and LESS/CSS file in my theme.



Any one have Idea ?










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

    – Vishwas Bhatnagar
    Feb 2 '17 at 5:14















1















How to Override my Admin PHTML, XML and LESS/CSS file in my theme.



Any one have Idea ?










share|improve this question
















bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

    – Vishwas Bhatnagar
    Feb 2 '17 at 5:14













1












1








1








How to Override my Admin PHTML, XML and LESS/CSS file in my theme.



Any one have Idea ?










share|improve this question
















How to Override my Admin PHTML, XML and LESS/CSS file in my theme.



Any one have Idea ?







magento2 magento-2.1 adminhtml less-css






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 '17 at 5:13









Vishwas Bhatnagar

2,91122045




2,91122045










asked Feb 2 '17 at 5:07









hweb87hweb87

5912724




5912724





bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

    – Vishwas Bhatnagar
    Feb 2 '17 at 5:14

















  • Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

    – Vishwas Bhatnagar
    Feb 2 '17 at 5:14
















Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

– Vishwas Bhatnagar
Feb 2 '17 at 5:14





Create a new admin theme extending form the theme that you Want to override and the change then like we normally override

– Vishwas Bhatnagar
Feb 2 '17 at 5:14










2 Answers
2






active

oldest

votes


















0














see this link to override adminhtml theme and this link to override css,js files.






share|improve this answer
































    0














    I am assuming you need your theme specific functionality that needs changes in the Admin panel.



    Under $MAGENTO_BASE_DIR/app/code, create a Vendor>/Theme> directory. Under that create a view/adminhtml. Underneath you can the create templates directory for your phtml, layout directory for your XML and web directory Less/CSS



    Basically



    app/code/<Vendor>/<Theme>/view/adminhtml/web
    app/code/<Vendor>/<Theme>/view/adminhtml/layout
    app/code/<Vendor>/<Theme>/view/adminhtml/templates
    app/code/<Vendor>/<Theme>/view/adminhtml/ui_component


    If you are creating a new theme for the Admin, you cal follow the Magento documentation for creating admin theme






    share|improve this answer

























    • Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

      – hweb87
      Feb 2 '17 at 6:29











    • That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

      – rajeshrajan
      Feb 2 '17 at 7:26











    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%2f157573%2fhow-to-override-my-admin-phtml-and-css-file-in-my-theme%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    see this link to override adminhtml theme and this link to override css,js files.






    share|improve this answer





























      0














      see this link to override adminhtml theme and this link to override css,js files.






      share|improve this answer



























        0












        0








        0







        see this link to override adminhtml theme and this link to override css,js files.






        share|improve this answer















        see this link to override adminhtml theme and this link to override css,js files.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:55









        Community

        1




        1










        answered Feb 2 '17 at 5:26









        Shahzaib Hayat KhanShahzaib Hayat Khan

        29615




        29615























            0














            I am assuming you need your theme specific functionality that needs changes in the Admin panel.



            Under $MAGENTO_BASE_DIR/app/code, create a Vendor>/Theme> directory. Under that create a view/adminhtml. Underneath you can the create templates directory for your phtml, layout directory for your XML and web directory Less/CSS



            Basically



            app/code/<Vendor>/<Theme>/view/adminhtml/web
            app/code/<Vendor>/<Theme>/view/adminhtml/layout
            app/code/<Vendor>/<Theme>/view/adminhtml/templates
            app/code/<Vendor>/<Theme>/view/adminhtml/ui_component


            If you are creating a new theme for the Admin, you cal follow the Magento documentation for creating admin theme






            share|improve this answer

























            • Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

              – hweb87
              Feb 2 '17 at 6:29











            • That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

              – rajeshrajan
              Feb 2 '17 at 7:26
















            0














            I am assuming you need your theme specific functionality that needs changes in the Admin panel.



            Under $MAGENTO_BASE_DIR/app/code, create a Vendor>/Theme> directory. Under that create a view/adminhtml. Underneath you can the create templates directory for your phtml, layout directory for your XML and web directory Less/CSS



            Basically



            app/code/<Vendor>/<Theme>/view/adminhtml/web
            app/code/<Vendor>/<Theme>/view/adminhtml/layout
            app/code/<Vendor>/<Theme>/view/adminhtml/templates
            app/code/<Vendor>/<Theme>/view/adminhtml/ui_component


            If you are creating a new theme for the Admin, you cal follow the Magento documentation for creating admin theme






            share|improve this answer

























            • Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

              – hweb87
              Feb 2 '17 at 6:29











            • That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

              – rajeshrajan
              Feb 2 '17 at 7:26














            0












            0








            0







            I am assuming you need your theme specific functionality that needs changes in the Admin panel.



            Under $MAGENTO_BASE_DIR/app/code, create a Vendor>/Theme> directory. Under that create a view/adminhtml. Underneath you can the create templates directory for your phtml, layout directory for your XML and web directory Less/CSS



            Basically



            app/code/<Vendor>/<Theme>/view/adminhtml/web
            app/code/<Vendor>/<Theme>/view/adminhtml/layout
            app/code/<Vendor>/<Theme>/view/adminhtml/templates
            app/code/<Vendor>/<Theme>/view/adminhtml/ui_component


            If you are creating a new theme for the Admin, you cal follow the Magento documentation for creating admin theme






            share|improve this answer















            I am assuming you need your theme specific functionality that needs changes in the Admin panel.



            Under $MAGENTO_BASE_DIR/app/code, create a Vendor>/Theme> directory. Under that create a view/adminhtml. Underneath you can the create templates directory for your phtml, layout directory for your XML and web directory Less/CSS



            Basically



            app/code/<Vendor>/<Theme>/view/adminhtml/web
            app/code/<Vendor>/<Theme>/view/adminhtml/layout
            app/code/<Vendor>/<Theme>/view/adminhtml/templates
            app/code/<Vendor>/<Theme>/view/adminhtml/ui_component


            If you are creating a new theme for the Admin, you cal follow the Magento documentation for creating admin theme







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 2 '17 at 7:24

























            answered Feb 2 '17 at 5:25









            rajeshrajanrajeshrajan

            112




            112












            • Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

              – hweb87
              Feb 2 '17 at 6:29











            • That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

              – rajeshrajan
              Feb 2 '17 at 7:26


















            • Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

              – hweb87
              Feb 2 '17 at 6:29











            • That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

              – rajeshrajan
              Feb 2 '17 at 7:26

















            Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

            – hweb87
            Feb 2 '17 at 6:29





            Which was the better way to override admin PHTML, XML and LESS/CSS. 1. Create new theme OR 2. Create new folder under $MAGENTO_BASE_DIR/app/code,

            – hweb87
            Feb 2 '17 at 6:29













            That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

            – rajeshrajan
            Feb 2 '17 at 7:26






            That depends on your situation. If I am writing functionality, say for example megamenu and providing configuration options under MegaMenu in AdminHtml specifically for my extension, then I will use the new folder under app/code/Vendor/Theme option. On the other hand if I am changing the existing admin options, I will go with creating new admin theme and overriding the way we normally override.

            – rajeshrajan
            Feb 2 '17 at 7:26


















            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%2f157573%2fhow-to-override-my-admin-phtml-and-css-file-in-my-theme%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 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2