The file “my_styles.css” containing your custom CSS styles needs to be placed in the media folder:
After following the instructions above, it did not work. So I’ve cleared all the cache and cache storage, and also tried rebuilding the Magento static files at the command line, using the following command:
I’m not necessarily 100% confident I did that correctly. It looked like it ran correctly, as it said it deployed all files at the end of running, but running that command is new to me.
After all of this, the new line of code still does not show up when I view source code on the site. I've used Incognito mode to make sure the site wasn't cached in a browser. What should I try next?
I think I got it... the config was set to Single Store. I changed that to No and then went in to the Store config settings and it seems to have fixed it. The new line of code is now displaying in the source code.