Questions tagged [less-import]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Module LESS results are different depending on use of grunt or setup:static-content:deploy

I am tying to break up my CSS, in a rather big module, so that it is easier to find the CSS I need. I have done something like the following in my _module.less: @import "module/_first-less";...
Kieran's user avatar
  • 98
1 vote
1 answer

Update Product Attribute through Import Tool using csv - ERROR: keep creating new same sku number - magento 2

I'm try to update a product attribute called "custom_stock_status". I have put together a csv file, with 2 columns like this, and import the file using import behavior "add/update", but it keeps ...
Mage Explorer's user avatar
0 votes
1 answer

Unable to import custom less file in custom theme's modules in Magento2

I have created a custom theme in Magento 2 and I want to add _customvariables.less and _custommixins.less in all other less files. I have added these files in the following location. magento2/app/...
Knight017's user avatar
  • 622
0 votes
1 answer

Using Theme Lib Css / Source In Modules

If using the _module.less convention in a custom module - do we have access to all of the files included there (lib-clearfix, etc)? Is this the only way or are there other methods that have been ...
LM_Fielding's user avatar
  • 1,533
3 votes
1 answer

Getting Error cannot create symlink Every time

I'm getting following error from a long time and can't get a permanent solution the error is "cannot create symlink error code 1314 Magento 2". The error like symlink _reset.less. Please find the ...
user48836's user avatar
7 votes
2 answers

How can I add custom less file and in a particular theme compile less file in Magento 2

How can I add custom less file and in a particular theme compile less file in Magento 2 ?
karthick's user avatar
  • 675
2 votes
1 answer

How to over ride frontend-blank _navigation.less in custom theme?

There are a number of great answers on less extending and overriding but none seem to answer this. I want to override the following in a custom theme. /vendor/magento/theme-frontend-blank/web/css/...
Paul Benbow's user avatar
3 votes
1 answer

CSS files not update with _extend.less rules

I has installed magento 2 version 2.0.7-0, I trying to create my own theme but I can get archive that styles in _extend.less work correctly. This is my path theme: /app/design/frontend/<vendor>...
xzegga's user avatar
  • 131
4 votes
3 answers

Magento 2 - Importing LESS mixins/variables from lib

Explanation I'm really not a fan of loading all the CSS on every page regardless of whether it's required, to me this is bad practice. Therefore I am creating CSS files for certain areas, e.g ...
Ben Crook's user avatar
  • 15.6k