0

how can i add custom.less file for any specific page in child theme? means don't need genrate in style-l.css or style-m.css. i need separate generate .custom.css and i have already use 2 methods

1.method

app/design/frontend/Kinex/theme/web/css/source/_custom.less

include in _source.less

@import'_custom.less';

2.method

app/design/frontend/Vendor/theme/Magento_Theme/web/css/source/_custom.less

create _extends.less in same location on child theme css folder.

@import'_custom.less'

both of methods generate in style-l.css or style-m.css. but i want generate separate css link on browser source. like: custom.css

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.