How to create new theme in magento 2 without parent theme delcartion?Cleaning up a parent theme and creating a child theme.How to add new theme name to grunt CLI command to run grunt tool in Magento 2?Which Magento Basic Theme Should I make Parent for Designing Responsive theme from scratchMagento 2 theme fallback without parentTheme developement in magento 2.1 and fall back is not workingBest way to create new Magento 2 theme based on Luma, which parent theme?Magento 2 Override image problem (static image of parent theme)Magento 2 Luma Theme inherence error 2.2.1 CEChanges in Parent Luma theme is not reflected in Child Luma theme in Magento 2.3.0?Parent theme necessary?
How to balance a monster modification (zombie)?
Do native speakers use "ultima" and "proxima" frequently in spoken English?
Would this string work as string?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
What is the tangent at a sharp point on a curve?
Writing in a Christian voice
Isn't the word "experience" wrongly used in this context?
How to read string as hex number in bash?
Does convergence of polynomials imply that of its coefficients?
Print a physical multiplication table
is this saw blade faulty?
Friend wants my recommendation but I don't want to give it to him
Do I need to convey a moral for each of my blog post?
Why didn’t Eve recognize the little cockroach as a living organism?
Have any astronauts/cosmonauts died in space?
How do researchers send unsolicited emails asking for feedback on their works?
What (if any) is the reason to buy in small local stores?
Print last inputted byte
Knife as defense against stray dogs
Asserting that Atheism and Theism are both faith based positions
How are passwords stolen from companies if they only store hashes?
Why doesn't the fusion process of the sun speed up?
Turning a hard to access nut?
Single word to change groups
How to create new theme in magento 2 without parent theme delcartion?
Cleaning up a parent theme and creating a child theme.How to add new theme name to grunt CLI command to run grunt tool in Magento 2?Which Magento Basic Theme Should I make Parent for Designing Responsive theme from scratchMagento 2 theme fallback without parentTheme developement in magento 2.1 and fall back is not workingBest way to create new Magento 2 theme based on Luma, which parent theme?Magento 2 Override image problem (static image of parent theme)Magento 2 Luma Theme inherence error 2.2.1 CEChanges in Parent Luma theme is not reflected in Child Luma theme in Magento 2.3.0?Parent theme necessary?
What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
magento2 magento2.2 theme parent-child-theme
add a comment |
What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
magento2 magento2.2 theme parent-child-theme
add a comment |
What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
magento2 magento2.2 theme parent-child-theme
What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
magento2 magento2.2 theme parent-child-theme
magento2 magento2.2 theme parent-child-theme
edited 14 mins ago
Shoaib Munir
2,1101828
2,1101828
asked Feb 13 at 12:12
MukeshMukesh
554
554
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Parent theme is necessary in Magento, if you don't want any parent theme, you can use blank theme as your parent theme:
<parent>Magento/blank</parent>
And this wont be an issue, your theme will work properly if you do this.
See dev docs for details
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
add a comment |
We can create a new theme without depending any parent theme like Magento blank theme vendor/magento/theme-frontend-blank/theme.xml
, the difficulty is you need to write all the look and feel changes from the scratch.
My suggestions is use blank theme as a parent theme, if you totally want to change any layout or build the styles from the scratch for the specific layout, use the parent layout override concept.
I hope it helps.
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
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%2f261611%2fhow-to-create-new-theme-in-magento-2-without-parent-theme-delcartion%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
Parent theme is necessary in Magento, if you don't want any parent theme, you can use blank theme as your parent theme:
<parent>Magento/blank</parent>
And this wont be an issue, your theme will work properly if you do this.
See dev docs for details
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
add a comment |
Parent theme is necessary in Magento, if you don't want any parent theme, you can use blank theme as your parent theme:
<parent>Magento/blank</parent>
And this wont be an issue, your theme will work properly if you do this.
See dev docs for details
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
add a comment |
Parent theme is necessary in Magento, if you don't want any parent theme, you can use blank theme as your parent theme:
<parent>Magento/blank</parent>
And this wont be an issue, your theme will work properly if you do this.
See dev docs for details
Parent theme is necessary in Magento, if you don't want any parent theme, you can use blank theme as your parent theme:
<parent>Magento/blank</parent>
And this wont be an issue, your theme will work properly if you do this.
See dev docs for details
edited Feb 13 at 12:47
answered Feb 13 at 12:14
Shoaib MunirShoaib Munir
2,1101828
2,1101828
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
add a comment |
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
that means without giving parent node, new theme wont work? so its mandatory to add the parent node?
– Mukesh
Feb 13 at 12:20
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
Yes it is mandatory. you can see dev docs of magento for more details: edited my answer
– Shoaib Munir
Feb 13 at 12:46
add a comment |
We can create a new theme without depending any parent theme like Magento blank theme vendor/magento/theme-frontend-blank/theme.xml
, the difficulty is you need to write all the look and feel changes from the scratch.
My suggestions is use blank theme as a parent theme, if you totally want to change any layout or build the styles from the scratch for the specific layout, use the parent layout override concept.
I hope it helps.
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
add a comment |
We can create a new theme without depending any parent theme like Magento blank theme vendor/magento/theme-frontend-blank/theme.xml
, the difficulty is you need to write all the look and feel changes from the scratch.
My suggestions is use blank theme as a parent theme, if you totally want to change any layout or build the styles from the scratch for the specific layout, use the parent layout override concept.
I hope it helps.
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
add a comment |
We can create a new theme without depending any parent theme like Magento blank theme vendor/magento/theme-frontend-blank/theme.xml
, the difficulty is you need to write all the look and feel changes from the scratch.
My suggestions is use blank theme as a parent theme, if you totally want to change any layout or build the styles from the scratch for the specific layout, use the parent layout override concept.
I hope it helps.
We can create a new theme without depending any parent theme like Magento blank theme vendor/magento/theme-frontend-blank/theme.xml
, the difficulty is you need to write all the look and feel changes from the scratch.
My suggestions is use blank theme as a parent theme, if you totally want to change any layout or build the styles from the scratch for the specific layout, use the parent layout override concept.
I hope it helps.
edited Feb 13 at 12:31
answered Feb 13 at 12:25
Bilal UseanBilal Usean
5,04423690
5,04423690
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
add a comment |
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
yup true....we do not need to write code for all look and feel, that's why we use parent theme...
– Mukesh
Feb 13 at 12:30
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
check my updated answer.
– Bilal Usean
Feb 13 at 12:33
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%2f261611%2fhow-to-create-new-theme-in-magento-2-without-parent-theme-delcartion%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