spid3r1987,
You posted files look correct BUT you better check that you have successfully uploaded it to the server - saelecting "login" on your site, does not switch to https
If the server file is set to permissions of 444 it can not be overritten via FTP

You can delete the server file first then FTP the edited file
You may then have to use your account filemanager to set the permissions correctly