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 can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
How to leave product feedback on macOS?
Is there anyway, I can have two passwords for my wi-fi
Review your own paper in Mathematics
Isometric embedding of a genus g surface
How to write Quadratic equation with negative coefficient
Is there a RAID 0 Equivalent for RAM?
Make a Bowl of Alphabet Soup
Difference between shutdown options
Limit max CPU usage SQL SERVER with WSRM
Should I warn a new PhD Student?
Why do Radio Buttons not fill the entire outer circle?
Would this string work as string?
How do I fix the group tension caused by my character stealing and possibly killing without provocation?
How do you justify more code being written by following clean code practices?
How to make money from a browser who sees 5 seconds into the future of any web page?
Can I cause damage to electrical appliances by unplugging them when they are turned on?
Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?
Sound waves in different octaves
Why does a 97 / 92 key piano exist by Bösendorfer?
What happens if I try to grapple mirror image?
If A is dense in Q, then it must be dense in R.
Giving feedback to someone without sounding prejudiced
Would a primitive species be able to learn English from reading books alone?
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♦ yesterday
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♦ yesterday
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,93022045
2,93022045
asked Feb 2 '17 at 5:07


hweb87hweb87
5962724
5962724
bumped to the homepage by Community♦ yesterday
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♦ yesterday
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