How to add custom css file in magento2.2.6?
I am in Production mode, using Luma Magento 2.2.6.
Do I have to be in Developer mode to make the solution in the above link work?
Before switching to Developer I have to clear the contents of :
var/cache generated/metadata generated/code var/view_preprocessed pub/static But my file structure is different I can never seem to find the correct folders.
I know this is a beginner question but I really appreciate your professional expertise and guidance on this 7 month long obstacle I keep running into.
Thank you in advance!
developer mode.If you are indeveloper mode, changes you made will apply immediately. If you are inproduction mode, changes directly will not apply. You need torm -rf var/cache, rm -rf generated rm -rf var/view_preprocessedrunphp bin/magento setup:static-content:deploy