Questions tagged [less-css]
Questions about the less CSS preprocessor usage in Magento. It supercharges the CSS for the developers with extra features and gets compiled back to CSS in the front/back end to be processed by the browser like a normal CSS.
152 questions
0 votes
2 answers
121 views
How to extend the parent theme styles from child theme
We are working on the child theme that inherits Magento/luma and I am trying to extend the styles from my child theme, unfortunately, it is throwing errors like some files are missing in my child ...
0 votes
2 answers
74 views
How do I hide images and compare button in category view List mode?
Using Codazon Fastest theme, I have created ~/fastest/fastest_child/Magento_Catalog/web/css/source/_extend.less which contains the following CSS extensions: .catalog-category-view.product-item-photo { ...
0 votes
1 answer
64 views
encountered an issue where the modifications made to the style-m.css and style-l.css files are not being reflected on the website
After the installation of the Martfury Magento theme on my server, we attempted to make changes to these two files but were unable to locate them within the theme directory. I found these files in, /...
1 vote
2 answers
545 views
How to add Fontawesome in Magento2 without CDN
I want to load Fontawesome in my Magento2 without CDN. I have downloaded the font awesome library from this link Fontawesome 6.1.1. And in zip file I got these files as shown in the figure . And in my ...
0 votes
2 answers
70 views
How to immediate effect on website after changes in less css code?
I am developing website design on Product listing page by css code in app/design/frontend/Smartwave/porto_child/Magento_Catalog/web/css/source/_module.less file .Whenever I change the css code in ...
0 votes
3 answers
971 views
Less file styles not applying in Magento 2
I have custom theme in ..../design/frontend/MyVendor/my-theme folder. My main less file is in design/frontend/MyVendor/my-theme/web/css/my-main.less. Content of the main less file: @import './source/...
0 votes
3 answers
583 views
Magento 2.3 - CSS changes revert after running " php bin/magento setup:static-content:deploy -f "
After edited CSS then run php bin/magento setup:static-content:deploy -f my changes revert, all my css workout removed. CSS Path : pub/static/frontend/Codazon/fatest_grocery_gourmet/en_US/css/style-...
0 votes
1 answer
5k views
Issue deploying Magento 2: Unable to get content
During deploy we get issues: Deploy using quick strategy frontend/Magento/blank/en_US 0/2437 >-------------------frontend/Magento/blank/en_US 2/2437 &...