Which LESS files do you compile in a child theme?source/lib not available in magento 2 frontend designChild Theme Change Colors - Less Mixins in Magento 2Magento Grunt Less Compilation behaves weirdGrunt watch doesn't watch _theme.less and custom less file(Magento2) Grunt Less problem with a new themeError: Exception #0 (InvalidArgumentException): Unable to serialize value - Produced by custom ThemeMagento 2 less compilation error while setup:static-content:deployproper way to use .less files in custom theme?Magento 2 Theme Development - grunt watch not detecting changes of custom LESS fileHow to edit .less or css files
How do I ask for 2-3 days per week remote work in a job interview?
Why aren’t there water shutoff valves for each room?
Why aren't rockets built with truss structures inside their fuel & oxidizer tanks to increase structural strength?
Solving pricing problem heuristically in column generation algorithm for VRP
Are there any low-level means to *exit* the Ethereal plane to a plane of my choosing?
What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?
Word for an event that will likely never happen again
Can anybody tell me who this Pokemon is?
Good textbook for queueing theory and performance modeling
Sum Square Difference, which way is more Pythonic?
Is there a fallacy about "appeal to 'big words'"?
Why aren't rainbows blurred-out into nothing after they are produced?
Is there any official ruling on how characters go from 0th to 1st level in a class?
Does the C++ standard guarantee that a failed insertion into an associative container will not modify the rvalue-reference argument?
Locked room poison mystery!
What is the prop for Thor's hammer (Mjölnir) made of?
Go to last file in vim
Illustrator - SVG make thinner path
A man in the desert is bitten by a skeletal animal, its skull gets stuck on his arm
How would armour (and combat) change if the fighter didn't need to actually wear it?
What can I do to increase the amount of LEDs I can power with a pro micro?
Telephone number in spoken words
Weird resistor with dots around it
Output the list of musical notes
Which LESS files do you compile in a child theme?
source/lib not available in magento 2 frontend designChild Theme Change Colors - Less Mixins in Magento 2Magento Grunt Less Compilation behaves weirdGrunt watch doesn't watch _theme.less and custom less file(Magento2) Grunt Less problem with a new themeError: Exception #0 (InvalidArgumentException): Unable to serialize value - Produced by custom ThemeMagento 2 less compilation error while setup:static-content:deployproper way to use .less files in custom theme?Magento 2 Theme Development - grunt watch not detecting changes of custom LESS fileHow to edit .less or css files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to create a theme based on Pixtron. I'm using Gulp rather than Grunt, but everything I've read about compiling LESS files has the same instructions: you have point to the source file(s) (e.g. styles-m.less or styles-l.less) in app/design/frontend/<Vendor>/<Theme>/web/css
and point the destination files in pub/static/frontend/<Vendor>/<Theme>/<locale>/css
.
Pixtron uses Magento/blank as its parent theme. So, I think because of that, there are no overarching theme files directly in the css folder. There are files inside the source subfolder to extend/override the blank theme. Here's the folder structure:
<Theme_Dir>
| |-- web/
| | |-- css/
| | | |-- source/
| | | | |-- _custom.less
| | | | |-- _extends.less
| | | | |-- _navigation.less
| | | | |-- _theme.less
So, I guess my question is which files should I be compiling when there aren't any main theme files for me to use? Should I be using the styles-l/m files from the parent theme? Hopefully, my question makes sense.
magento2 theme less less-compilation
add a comment |
I'm trying to create a theme based on Pixtron. I'm using Gulp rather than Grunt, but everything I've read about compiling LESS files has the same instructions: you have point to the source file(s) (e.g. styles-m.less or styles-l.less) in app/design/frontend/<Vendor>/<Theme>/web/css
and point the destination files in pub/static/frontend/<Vendor>/<Theme>/<locale>/css
.
Pixtron uses Magento/blank as its parent theme. So, I think because of that, there are no overarching theme files directly in the css folder. There are files inside the source subfolder to extend/override the blank theme. Here's the folder structure:
<Theme_Dir>
| |-- web/
| | |-- css/
| | | |-- source/
| | | | |-- _custom.less
| | | | |-- _extends.less
| | | | |-- _navigation.less
| | | | |-- _theme.less
So, I guess my question is which files should I be compiling when there aren't any main theme files for me to use? Should I be using the styles-l/m files from the parent theme? Hopefully, my question makes sense.
magento2 theme less less-compilation
add a comment |
I'm trying to create a theme based on Pixtron. I'm using Gulp rather than Grunt, but everything I've read about compiling LESS files has the same instructions: you have point to the source file(s) (e.g. styles-m.less or styles-l.less) in app/design/frontend/<Vendor>/<Theme>/web/css
and point the destination files in pub/static/frontend/<Vendor>/<Theme>/<locale>/css
.
Pixtron uses Magento/blank as its parent theme. So, I think because of that, there are no overarching theme files directly in the css folder. There are files inside the source subfolder to extend/override the blank theme. Here's the folder structure:
<Theme_Dir>
| |-- web/
| | |-- css/
| | | |-- source/
| | | | |-- _custom.less
| | | | |-- _extends.less
| | | | |-- _navigation.less
| | | | |-- _theme.less
So, I guess my question is which files should I be compiling when there aren't any main theme files for me to use? Should I be using the styles-l/m files from the parent theme? Hopefully, my question makes sense.
magento2 theme less less-compilation
I'm trying to create a theme based on Pixtron. I'm using Gulp rather than Grunt, but everything I've read about compiling LESS files has the same instructions: you have point to the source file(s) (e.g. styles-m.less or styles-l.less) in app/design/frontend/<Vendor>/<Theme>/web/css
and point the destination files in pub/static/frontend/<Vendor>/<Theme>/<locale>/css
.
Pixtron uses Magento/blank as its parent theme. So, I think because of that, there are no overarching theme files directly in the css folder. There are files inside the source subfolder to extend/override the blank theme. Here's the folder structure:
<Theme_Dir>
| |-- web/
| | |-- css/
| | | |-- source/
| | | | |-- _custom.less
| | | | |-- _extends.less
| | | | |-- _navigation.less
| | | | |-- _theme.less
So, I guess my question is which files should I be compiling when there aren't any main theme files for me to use? Should I be using the styles-l/m files from the parent theme? Hopefully, my question makes sense.
magento2 theme less less-compilation
magento2 theme less less-compilation
asked Aug 4 at 7:02
NikkiBdrawsNikkiBdraws
12 bronze badges
12 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
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%2f284334%2fwhich-less-files-do-you-compile-in-a-child-theme%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f284334%2fwhich-less-files-do-you-compile-in-a-child-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