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?
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
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.
add a comment |
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
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
add a comment |
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
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
magento2 magento-2.1 adminhtml less-css
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
see this link to override adminhtml
theme and this link to override css,js
files.
add a comment |
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
see this link to override adminhtml
theme and this link to override css,js
files.
add a comment |
see this link to override adminhtml
theme and this link to override css,js
files.
add a comment |
see this link to override adminhtml
theme and this link to override css,js
files.
see this link to override adminhtml
theme and this link to override css,js
files.
edited Apr 13 '17 at 12:55
Community♦
1
1
answered Feb 2 '17 at 5:26
Shahzaib Hayat KhanShahzaib Hayat Khan
29615
29615
add a comment |
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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