I'm new to Magento. I'm trying to remove some text from a webpage on a phtml file. I've tried to run these commands below
memory_limit=-1 php bin/magento setup:static-content:deploy php bin/magento cache:flush
I enabled template hint so I know which file to edit. (/html/vendor/magento/module-customer/view/frontend/templates/account/dashboard)
I haven't been able to see the changes reflected on the webpage. What could I be missing?
It's not preferable to apply changes on Vendor/Magento directly.
You need to override the particular file in your theme and flush the cache after applying changes.
Refer to the below content and example:
Actually, the file I'm trying to edit has text intended to be a comment but wasn't commented out properly. So when I try to comment that out, the text still displays on the webpage.
For the link you sent, how do you know where the overridden file should be located? For example, if I want to edit a file on var/view_preprocessed/pub/static/vendor/Magento/module_customer where would this go?