How to hide these 2 element in css / less?
-
28-02-2021 - |
Solution
You need to search for those classes in the repository/source code, and then use the same nesting in your _custom.less file. The path to get to that class needs to match what it is currently. You can also see this in the browser by inspecting those elements. The classes themselves will need either visibility: hidden;
or display: none;
depending on what your trying to achieve exactly. You can also test this in the browser inspector before putting in your file. When done, deploy your static content php bin/magento setup:static-content:deploy
and if cache is enabled, clear it php bin/magento cache:flush
.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange